SEP 22 2018

Fatal error: Call to a member function getBackend() on a non-object in app/code/core/Mage/Eav/Model/Entity/Abstract.php on line 1536

Blank screen or the following fatal error is thrown on attempt to change customer’s password in Frontend after SUPEE-10888:

Fatal error: Call to a member function getBackend() on a non-object in app/code/core/Mage/Eav/Model/Entity/Abstract.php on line 1536.

Cause

SUPEE-10888 adds new attribute in database (`rp_customer_id`), without such attribute the model can not be loaded.

Solution

Flush Magento cache to execute database upgrade script (i.e. app/code/core/Mage/Customer/sql/customer_setup/upgrade-1.6.2.0.4.1.2-1.6.2.0.4.1.3.php for Magento 1.9.2.4).  

Posted in: Fatal errors

Fatal error: Call to a member function getBackend() on a non-object in app/code/core/Mage/Eav/Model/Entity/Abstract.php on line 1536
1 vote, 5.00 avg. rating (92% score)