Hi,
I have an error message when I save a product.
Fatal error: Call to undefined method Mage_Sales_Model_Resource_Quote::markQuotesRecollectByAffectedProduct() in /var/www/html/app/code/core/Mage/Sales/Model/Observer.php on line 135
This seems to come from the file /app/code/local/Mage/Sales/Model/Resource/Quote.php
I need to change what?
Should we delete the file /app/code/local/Mage/Sales/Model/Resource/Quote.php?
Or should we change it?
Thank you in advance for help.
Nicolas
why local file was created?
I need to change what?
Should we delete the file /app/code/local/Mage/Sales/Model/Resource/Quote.php?
Or should we change it?
It depends why the override file is there. Generally it's a vey bad approach to make changes by overriding files using local code pool and only marginally better than changing core files directly (which is strictly verboten; Ben Marks will come and eat your children alive when you do that). I only use it for proof of concept quick hacks, never to be used anywhere near live environments. I'm pretty sure the problems started to appear when your system was upgraded, because the override files are from older Magento version(s) and not compatible with new one. I'd start process by removing app/code/local/Mage files (back them up somewhere in case you need them later) and see if your system works after that.