(Magento CE V1.7.0.2)
I have a problem with the customer data collection, I can't have any "telephone" number.
I must remove the line
->joinAttribute('billing_telephone', 'customer_address/telephone', 'default_billing', null, 'left') from _prepareCollection() function of Grid.php for the customer table list or I have an error report with:
"Attribute type not valid" /magento/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(652): Mage::exception('Mage_Eav', 'Type d'attribut...') How can I rebuild default EAV attribute or perhaps someone has modified a file?
eav_attributecontains an entry withattribute_code='telephone'andentity_type_id=2.