Magento 1.7 Admin Login Fatal error: Call to a member function getBlockName() on a non-object in line 43

user2638928 picture user2638928 · Jul 31, 2013 · Viewed 10.4k times · Source

Can someone help me?

On index.php/admin the following exception was thrown:

Fatal error: Call to a member function getBlockName() on a non-object in /home/ahorraen/public_html/app/code/core/Mage/Captcha/Block/Captcha.php on line 43

Answer

xavierang picture xavierang · Aug 8, 2013

Delete var/cache and var/session

This works for me!