p85shop Posted April 23, 2020 Share Posted April 23, 2020 Buonasera a tutti. Sono nuovo a Prestashop (ma non all'informatica 😀) Sono sull'ultima versione di PS e ho un errore 500 quando vado a finalizzare un acquisto con contrassegno. In questo caso sul modulo di marketplace che uso (ja marketplace) ho impostato che deve inviare una mail. Se disattivo questa funzione di invio mail l'acquisto si completa correttamente altrimenti mi da errore 500... ecco il debug di quel momento: Mi date una mano per favore??? [PrestaShopException] La proprietà SellerOrder->total_paid non è valida at line 1003 in file classes/ObjectModel.php 998. } 999. 1000. $message = $this->validateField($field, $this->$field); 1001. if ($message !== true) { 1002. if ($die) { 1003. throw new PrestaShopException($message); 1004. } 1005. 1006. return $error_return ? $message : false; 1007. } 1008. } ObjectModelCore->validateFields - [line 292 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 737 - classes/ObjectModel.php] ObjectModelCore->update - [line 5256 - modules/jmarketplace/jmarketplace.php] Jmarketplace->createSellerOrders - [line 4927 - modules/jmarketplace/jmarketplace.php] - [1 Arguments] Jmarketplace->sendCommission - [line 5432 - modules/jmarketplace/jmarketplace.php] - [1 Arguments] Jmarketplace->hookActionOrderStatusPostUpdate - [line 970 - classes/Hook.php] - [1 Arguments] HookCore::coreCallHook - [line 355 - classes/Hook.php] - [3 Arguments] HookCore::callHookOn - [line 907 - classes/Hook.php] - [3 Arguments] HookCore::exec - [line 411 - classes/order/OrderHistory.php] - [7 Arguments] OrderHistoryCore->changeIdOrderState - [line 556 - classes/PaymentModule.php] - [3 Arguments] PaymentModuleCore->validateOrder - [line 57 - modules/ps_cashondelivery/controllers/front/validation.php] - [9 Arguments] Ps_CashondeliveryValidationModuleFrontController->postProcess - [line 281 - classes/controller/Controller.php] 276. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { 277. $this->setMedia(); 278. } 279. 280. // postProcess handles ajaxProcess 281. $this->postProcess(); 282. 283. if (!empty($this->redirect_after)) { 284. $this->redirect(); 285. } 286. ControllerCore->run - [line 515 - classes/Dispatcher.php] 510. if (isset($params_hook_action_dispatcher)) { 511. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 512. } 513. 514. // Running controller 515. $controller->run(); 516. 517. // Execute hook dispatcher after 518. if (isset($params_hook_action_dispatcher)) { 519. Hook::exec('actionDispatcherAfter', $params_hook_action_dispatcher); 520. } DispatcherCore->dispatch - [line 28 - index.php] 23. * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) 24. * International Registered Trademark & Property of PrestaShop SA 25. */ 26. 27. require dirname(__FILE__).'/config/config.inc.php'; 28. Dispatcher::getInstance()->dispatch(); Link to comment Share on other sites More sharing options...
idnovate.com Posted April 25, 2020 Share Posted April 25, 2020 È un problema del modulo "jmarketplace". Dovresti parlare con il suo sviluppatore. Link to comment Share on other sites More sharing options...
p85shop Posted April 25, 2020 Author Share Posted April 25, 2020 Ho chiesto... vediamo che dicono. Spesso ricevere assistenza è un terno al lotto 🙂 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