Jump to content

Error 500 after choosing COD


miloszmich

Recommended Posts

I have problem with cash on delivery. Yesterday was ok. Today without any changes this problem: Property CartRule->cart_rule_restriction is not valid (with turned on debugging, without is 500)

Somebody has info how to fix it?

Here is all error

 

[PrestaShopException]

Property CartRule->cart_rule_restriction is not valid
at line 917 in file classes/ObjectModel.php

912.             }
913. 
914.             $message = $this->validateField($field, $this->$field);
915.             if ($message !== true) {
916.                 if ($die) {
917.                     throw new PrestaShopException($message);
918.                 }
919.                 return $error_return ? $message : false;
920.             }
921.         }
922. 
ObjectModelCore->validateFields - [line 246 - classes/ObjectModel.php]
ObjectModelCore->getFields - [line 652 - classes/ObjectModel.php]
ObjectModelCore->update - [line 145 - classes/CartRule.php] - [1 Arguments]
CartRuleCore->update - [line 610 - classes/PaymentModule.php]
PaymentModuleCore->validateOrder - [line 59 - modules/cashondelivery/controllers/front/validation.php] - [9 Arguments]
Argument [0]
45194
Argument [1]
3
Argument [2]
594
Argument [3]
Płatność przy odbiorze
Argument [4]

Argument [5]
Array
(
)

Argument [6]

Argument [7]

Argument [8]
4d9499bd8b3e3107314c66c8603dcb5d
CashondeliveryValidationModuleFrontController->postProcess - [line 178 - classes/controller/Controller.php]
173.             if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {
174.                 $this->setMedia();
175.             }
176. 
177.             // postProcess handles ajaxProcess
178.             $this->postProcess();
179. 
180.             if (!empty($this->redirect_after)) {
181.                 $this->redirect();
182.             }
183. 
ControllerCore->run - [line 367 - classes/Dispatcher.php]
362.             if (isset($params_hook_action_dispatcher)) {
363.                 Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
364.             }
365. 
366.             // Running controller
367.             $controller->run();
368.         } catch (PrestaShopException $e) {
369.             $e->displayMessage();
370.         }
371.     }
372. 
DispatcherCore->dispatch - [line 28 - index.php]
23. *  @license    http://opensource.org/licenses/osl-3.0.php  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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...