I getting this error for my online collection tab on Magento. 1.9.1

Fatal error: Call to a member function getBackendType() on a non-object in /home/*****/public_html/app/code/core/Mage/Log/Model/Resource/Visitor/Online/Collection.php on line 72

I can usually figure this out, but I don't know much about the online customers tab in Magento. It started happening when we went to our 4 server cluster a couple months ago.

1 Answer 1


getBackendType() is called on $attribute:

$attribute = $customer->getAttribute($attributeCode);

Where $attributeCode is "lastname", "firstname" or "email". These attributes seem to be missing from the eav_attributes table, please check if they have been accidently deleted.

  • Getting this attribute thing.It was missing. Just re built the tables with a little work and it worked perfect! Led me on to many other areas too. Thanks for the help! Commented Oct 27, 2015 at 3:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.