ellenb4t Posted January 12, 2022 Share Posted January 12, 2022 Hi guys, This problem occured between 2 orders, 5 minutes apart. In the mean time, no updates, no server changes (I asked)... the first order went well, the second gives a 500 server error and it's not working anymore. Prestashop 1.7.8.0 PHP 7.4.27 I first thought it had something to do with Cash on Delivery (the only payment option on my site), so I turned that off and used Bank transfer instead. Same problem. I turned off Smarty Cache. I turned off Email notifications. I checked and ran updates. I turned on debug mode and this is what I get: Onherstelbare fout 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 1530 - classes/Cart.php] 1525. } else { 1526. $minimal_quantity = (int) $product->minimal_quantity; 1527. } 1528. 1529. if (!Validate::isLoadedObject($product)) { 1530. die(Tools::displayError()); 1531. } 1532. 1533. if (isset(self::$_nbProducts[$this->id])) { 1534. unset(self::$_nbProducts[$this->id]); 1535. } CartCore->updateQty - [line 703 - modules/idxrcustomproduct/idxrcustomproduct.php] - [3 Arguments] Argument [0] 1 Argument [1] 14 Argument [2] 0 IdxrCustomProduct->adjustStock - [line 32 - override/classes/PaymentModule.php] - [1 Arguments] Argument [0] 737 PaymentModule->validateOrder - [line 63 - modules/ps_wirepayment/controllers/front/validation.php] - [9 Arguments] Argument [0] 737 Argument [1] 10 Argument [2] 8739 Argument [3] Bankoverschrijving Argument [4] Argument [5] Array ( [{bankwire_owner}] => Bike4travel [{bankwire_details}] => NL65INGB0009641329 [{bankwire_address}] => Rotterdam ) Argument [6] 1 Argument [7] Argument [8] eb73f49dd63385291c91edddcd83294a Ps_WirepaymentValidationModuleFrontController->postProcess - [line 295 - classes/controller/Controller.php] 290. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { 291. $this->setMedia(); 292. } 293. 294. // postProcess handles ajaxProcess 295. $this->postProcess(); 296. 297. if (!empty($this->redirect_after)) { 298. $this->redirect(); 299. } 300. ControllerCore->run - [line 518 - classes/Dispatcher.php] 513. if (isset($params_hook_action_dispatcher)) { 514. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 515. } 516. 517. // Running controller 518. $controller->run(); 519. 520. // Execute hook dispatcher after 521. if (isset($params_hook_action_dispatcher)) { 522. Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher); 523. } DispatcherCore->dispatch - [line 28 - index.php] 23. * @copyright Since 2007 PrestaShop SA and Contributors 24. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) 25. */ 26. 27. require dirname(__FILE__).'/config/config.inc.php'; 28. Dispatcher::getInstance()->dispatch(); I have absolutely no clue what this means.. this is beyond my knowledge. So I hope someone can help me with this issue. Because at the moment my shop isn't working anymore. If you need more info to help me with this, please ask. Ellen Link to comment Share on other sites More sharing options...
ComGrafPL Posted January 12, 2022 Share Posted January 12, 2022 Try with payments module reset ( also disable this one wirepayment ). Clear the cache after. 1 Link to comment Share on other sites More sharing options...
ellenb4t Posted January 12, 2022 Author Share Posted January 12, 2022 Thank you ComGrafPL for helping. Just so you know I am kind of a n00b... what exactly do you mean by 'reset'? Should I deinstall it and reinstall it? Thank you, Ellen Oh, and do you think it could have something to do with email settings? Link to comment Share on other sites More sharing options...
ellenb4t Posted January 12, 2022 Author Share Posted January 12, 2022 @ComGrafPL I clicked the 'Reset' button in the module manager for both payments installed, then cleared cache en now it looks like it's working again! So simple! Thank you so much, I hope it will stay this way and it is a riddle why it happened... Link to comment Share on other sites More sharing options...
ComGrafPL Posted January 12, 2022 Share Posted January 12, 2022 1 minute ago, ellenb4t said: @ComGrafPL I clicked the 'Reset' button in the module manager for both payments installed, then cleared cache en now it looks like it's working again! So simple! Thank you so much, I hope it will stay this way and it is a riddle why it happened... Enjoy it. Hope it will stay that way. Best Wishes 1 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