4

This question already has an answer here:

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

marked as duplicate by Fabian Schmengler, Keyul Shah, Qaisar Satti, Amit Bera, Mufaddal Dec 31 '15 at 5:10

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.

7
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';
  • I got: catalog/product_attribute_backend_startdate_specialprice but how do i change it to catalog/product_attribute_backend_startdate – Jeroen Booij Feb 3 '15 at 14:06
  • See updated code – Amberta Feb 3 '15 at 14:28
  • It does still not work. Is this a magento bug? – Black May 20 '18 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 '18 at 9:43

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