4

i'm new to magento and to building a website in general. when i try to add/edit/delete a product i get this error message: Invalid backend model specified: catalog/product_attribute_backend_startdate_specialprice

i was succesfull before but i changed a few things, like adding a new attribute set and installing a language pack and i don't know where i went wrong. how do i fix this error?

enter image description here

0

1 Answer 1

8
SELECT backend_model FROM eav_attribute WHERE attribute_code = 'special_from_date';

You'll get

catalog/product_attribute_backend_startdate_specialprice

Change it to

catalog/product_attribute_backend_startdate

To run in console

UPDATE eav_attribute SET backend_model = 'catalog/product_attribute_backend_startdate' WHERE attribute_code = 'special_from_date';
4
  • I got: catalog/product_attribute_backend_startdate_specialprice but how do i change it to catalog/product_attribute_backend_startdate Feb 3, 2015 at 14:06
  • See updated code
    – Amberta
    Feb 3, 2015 at 14:28
  • It does still not work. Is this a magento bug?
    – Black
    May 20, 2018 at 13:59
  • I can only assume it happens during Magento upgrades. You need to find correct backend model. By the time I answered it was 'catalog/product_attribute_backend_startdate'. It can be other model by now. Or you just need to clean your cache.
    – Amberta
    May 24, 2018 at 9:43

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