1sweetman Posted February 24, 2023 Share Posted February 24, 2023 Hi If I set Products > Pagination > Products per page to say 200 all 200 items are displayed and will load when I visit the product pages individually. If however I change it to say 100 and have 2 pages - everything on page 1 displays and works, but everything on page 2 displays ok but is now a Fatal Error when I try to visit the individual product page. The only work around i have is to have a stupidly high Products on Page setting. I put it in debug mode and I get this error message [PrestaShopException] Fatal error at line 1182 in file classes/Tools.php 1177. ->getTranslator() 1178. ->trans('Fatal error', [], 'Admin.Notifications.Error'); 1179. } 1180. 1181. if (_PS_MODE_DEV_) { 1182. throw new PrestaShopException($errorMessage); 1183. } 1184. 1185. return $errorMessage; 1186. } 1187. ToolsCore::displayError - [line 3612 - classes/Product.php] ProductCore::getPriceStatic - [line 214 - classes/Link.php] LinkCore->getProductLink - [line 228 - controllers/front/ProductController.php] ProductControllerCore->init - [line 35 - override/controllers/front/ProductController.php] ProductController->init - [line 287 - classes/controller/Controller.php] ControllerCore->run - [line 525 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] I have tried clearing var/cache/dev but to no avail. I am fully updated to 1.7.8.8 and use the basic theme Does anyone have any ideas? Thanks in advance Link to comment Share on other sites More sharing options...
endriu107 Posted February 24, 2023 Share Posted February 24, 2023 What php version you have? Did you have any overrides? Link to comment Share on other sites More sharing options...
1sweetman Posted February 24, 2023 Author Share Posted February 24, 2023 I do not have any overrides I am using PHP version 7.4.33 Thanks Link to comment Share on other sites More sharing options...
JBW Posted February 28, 2023 Share Posted February 28, 2023 On 2/24/2023 at 12:31 PM, 1sweetman said: ProductControllerCore->init - [line 35 - override/controllers/front/ProductController.php] There is definitiely an override in place Link to comment Share on other sites More sharing options...
1sweetman Posted March 1, 2023 Author Share Posted March 1, 2023 Hi, I've never set one up - don't know how - so I have to assume that it has been done by a module instead...& after you pointed me in right direct it was. Disabled it and voila all started working again. Thanks for assistance. 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