This question already has an answer here:

I am getting an error on my websites home page including a custom attribute from my theme.

PHP Fatal error: Call to a member function getBackend() on a non-object in /chroot/home/afgclass/WEBSITEDOMAIN/html/app/code/core/Mage/Eav/Model/Entity/Abstract.php

Can you guys please help any suggestions? Sadly I have no backups ;(

marked as duplicate by Fabian Schmengler, Kristof at Fooman, Raphael at Digital Pianism, Qaisar Satti, mbalparda May 25 '16 at 14:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • It's hard to tell what are you doing. However check this link – Adarsh Khatri Jun 14 '15 at 2:45

Have you done any custom code in your application?

Somehow you are using wrong attribute Id which is being checked by below function -

#File: app/code/core/Mage/Eav/Model/Entity/Abstract.php
public function isAttributeStatic($attribute)
    $attrInstance       = $this->getAttribute($attribute);
    $attrBackendStatic  = $attrInstance->getBackend()->isStatic();
    return $attrInstance && $attrBackendStatic;

So check your customization thoroughly.

Got this reference from Alan Storm

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