0
votes

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.

1
This module costs $99. Surely if you have a problem with it you would speak to WebKul before trying to fix it yourself? Edit I see you have contacted them also ...sulman
Hello Still if you any trouble with magento customer as partner module please add a support ticket . we will help you out for sure webkul.com/ticket/index.php Thankswebkul

1 Answers

1
votes

Perhaps the setup script for the module did not install? To diagnose, do the following:

  1. Verify the module version in its config.xml file and check that the version and data_version match this value in the core_resource table.
  2. Verify that the attributes are present in eav_attribute table by searching for the attribute code.