Jump to content

[Solved] Updating Address fatal error


Recommended Posts

When I am in FO signed in as a customer and try to change the delivery address or update the new address, after submit it displays white page and says Fatal Error.

 

I am using Prestashop 1.4.3 version.

 

Please I need answers asap, because I am opening the store today.

Link to comment
Share on other sites

  • 1 month later...

in AddressController we have lines:

if (Tools::isSubmit('submitAddress'))   (84)
{
$address = new Address();
$this->errors = $address->validateControler();

so we have errors immediately and the script 'crushes' on the next die(93)

 

I think it is typo and should be

$address = new Address((int)$id_address);

Link to comment
Share on other sites

  • 1 month later...

in AddressController we have lines:

if (Tools::isSubmit('submitAddress'))   (84)
{
$address = new Address();
$this->errors = $address->validateControler();

so we have errors immediately and the script 'crushes' on the next die(93)

 

I think it is typo and should be

$address = new Address((int)$id_address);

Thank you very much : you have right !!!!

Link to comment
Share on other sites

×
×
  • Create New...