Magento 1.7 Admin Login Fatal error: calling the member function getBlockName () for a non-object on line 43

Can someone help me?

The following exception was thrown in index.php/admin :

 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 
+7
source share
7 answers

Delete var / cache and var / session

It works for me!

+14
source

Clearing the cache works for me.

Just delete the var / cache / All files

Even after uninstallation, it may take several minutes to update.

+2
source

Only cache/ and session/ do not work for me. Set permissions for chmod files correctly

 var var/cache var/session 
+1
source

There are several things that can cause this, such as incorrectly rewriting the admin/captcha/type field in a community or local module. However, most likely, this is a cache problem, like others. Be sure to clear all caches that you have, including Memcached, Redis, and / or APC.

See my answer here for more details: fooobar.com/questions/950738 / ...

+1
source

Clearing cache and session files did not do this for me, but I found that the website ids for some reason were not set correctly in the core_website table. After the correct installation, everything was in order.

0
source

Maybe due to a module that you recently disabled via XML. Was there a case here:

 /app/etc/modules 

Or through the backend.

You can go to the magento directory and do the following in the shell:

 cd /yourdirectory/ find -type -f -mtime 1 

Change 1 to 30 in the last 30 days ...

0
source

Yes. These are the Magento installation directories.

-1
source

Source: https://habr.com/ru/post/950735/


All Articles