I have an error. I've upgraded from magento 18.104.22.168 to 22.214.171.124. In general everything works great (that i know of
But when I place an order i'll get the followin error:
Fatal error: Undefined class constant 'XML_PATH_STORE_STORE_HOURS' in/home/admin/domains/moleculeclothing.eu/public_html/app/code/core/Mage/Core/Model/Email/Template/Abstract.php on line 181
Me and the customer also wont get a transactional email, but the order is registred in the backend.
Also when i want to send an email trough the backend to a customer, ill get the same error. Notes withiin an order are saved, but also with the same error.
can't find any lead on google or on this forum.
Can someone help me / push me in the right direction?
I've found the following topic and it pointed me in the right direction...
There was a folder /app/code/local/Mage/ and the Mage folder had still some old files in it. I think it overwrites the core files in the folder app/code/core/Mage
Renamed the folder Mage to Mage.bak and it solved my problem.
Can confirm this as a fix myself.
The other information in that link may be different to what you have. for example, in the Mage/Sales/Model/Order folder, the only file I had in there was Payment.php.
This also seems to have been an issue with upgrading from 126.96.36.199, to 188.8.131.52.
I have same issue i resolved it..
When you upgrade all the core file changed. so if you did any changes than you must always put core file in local (it's magento inherit)
You can replace it OR
Just define constant (paste this on line Number 51)
const XML_PATH_STORE_STORE_HOURS = 'general/store_information/hours';