I just implemented a module from WebKul Customer as a partner, but I am having a problem with this area of the code. Can anyone please point me to the area that needs fixing?
$collection = Mage::getResourceModel('customer/customer_collection')
->addAttributeToFilter('nickname', $value)
->addAttributeToFilter('entity_id', array('nin' => $customer_id));
This gives the following error:
Fatal error: Call to a member function getBackend() on a non-object in /home/xxx/public_html/app/code/core/Mage/Eav/Model/Entity/Abstract.php on line 816
I am new to Magento, so any help will be appreciated.