What's New
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.
Tagged: cialis online canada
Hi,
I want to make the mobile phone in the adress form required, i checked this option en the backend.
When i tested in the checkout page i’ve go a 500 eroor if the debug mode is deactivated or this error if activated :
`[PrestaShopException]
La propriété Address->id_country est vide.
at line 944 in file classes/ObjectModel.php
939. }
940.
941. $message = $this->validateField($field, $this->$field);
942. if ($message !== true) {
943. if ($die) {
944. throw new PrestaShopException($message);
945. }
946. return $error_return ? $message : false;
947. }
948. }
949.
ObjectModelCore->validateFields – [line 272 – classes/ObjectModel.php]
ObjectModelCore->getFields – [line 683 – classes/ObjectModel.php]
ObjectModelCore->update – [line 202 – classes/Address.php] – [1 Arguments]
AddressCore->update – [line 219 – classes/Address.php]
AddressCore->delete – [line 73 – classes/form/CustomerAddressPersister.php]
CustomerAddressPersisterCore->save – [line 162 – classes/form/CustomerAddressForm.php] – [2 Arguments]
CustomerAddressFormCore->submit – [line 111 – classes/checkout/CheckoutAddressesStep.php]
CheckoutAddressesStepCore->handleRequest – [line 57 – classes/checkout/CheckoutProcess.php] – [1 Arguments]
CheckoutProcessCore->handleRequest – [line 201 – controllers/front/OrderController.php] – [1 Arguments]
OrderControllerCore->initContent – [line 205 – classes/controller/Controller.php]
ControllerCore->run – [line 379 – classes/Dispatcher.php]
DispatcherCore->dispatch – [line 28 – index.php]’
It seems that the error comes from the panda theme, i’ve seen a fix in github but it seems related to the default theme : https://github.com/PrestaShop/PrestaShop/pull/8435/files
I have upgraded to prestashop 1.7.2.5 and panda 2.2.6.
Also something strange is ocuuring : if a deactivate the debug mode it is impossible to clear prestashop cache and frontend sometimes doesn’t work
My wensite : https://www.loliv.com
Can you help me please.
Hi,
It is a bug in Prestashop, please replace \classes\form\CustomerAddressPersister.php with my attached one to fix it.
Best regards.
Hi,
One of my custom experienced the issue, please view here: https://www.sunnytoo.com/forums/topic/500-server-error
Best regards.
You must be logged in to reply to this topic.