Milwell Sia Posted September 6, 2023 Share Posted September 6, 2023 (edited) I recently upgraded from 1.7.4.2 to 1.7.8.10 I could browse the list of products but clicking a product to view details gives error 500 below is the apache log data [Wed Sep 06 07:25:09.700536 2023] [php7:error] [pid 33554] [client 10.10.100.120:62353] PHP Fatal error: Uncaught Error: Call to undefined method Product::getEcotax() in /var/www/html/dexstore/src/Adapter/Presenter/Object/ObjectPresenter.php:58\nStack trace:\n#0 /var/www/html/dexstore/controllers/front/ProductController.php(1106): PrestaShop\\PrestaShop\\Adapter\\Presenter\\Object\\ObjectPresenter->present()\n#1 /var/www/html/dexstore/controllers/front/ProductController.php(374): ProductControllerCore->getTemplateVarProduct()\n#2 /var/www/html/dexstore/classes/controller/Controller.php(306): ProductControllerCore->initContent()\n#3 /var/www/html/dexstore/classes/Dispatcher.php(525): ControllerCore->run()\n#4 /var/www/html/dexstore/index.php(28): DispatcherCore->dispatch()\n#5 {main}\n thrown in /var/www/html/dexstore/src/Adapter/Presenter/Object/ObjectPresenter.php on line 58, referer: https://rustdesk.dexterton.loc/dexstore/230-water-dispensers-and-purifier Edited September 6, 2023 by Milwell Sia (see edit history) Link to comment Share on other sites More sharing options...
Milwell Sia Posted September 6, 2023 Author Share Posted September 6, 2023 Ok, somehow we had an override of Product class Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now