Jump to content

Shopping carts error


Geraldine G

Recommended Posts

Hello,

I have this message every time I want to go to the shopping cart

[PrestaShopException]

Invalid address #17
at line 439 in file classes/Address.php

434.             // if an id_address has been specified retrieve the address
435.             if ($id_address) {
436.                 $address = new Address((int)$id_address);
437. 
438.                 if (!Validate::isLoadedObject($address)) {
439.                     throw new PrestaShopException('Invalid address #'.(int)$id_address);
440.                 }
441.             } elseif ($with_geoloc && isset($context->customer->geoloc_id_country)) {
442.                 $address             = new Address();
443.                 $address->id_country = (int)$context->customer->geoloc_id_country;
444.                 $address->id_state   = (int)$context->customer->id_state;
Have anyone ran into this bug too ?
What can be done ?
 
Many thanks,
Gg
 
Link to comment
Share on other sites

Hello El patron,

Thank you for your reply. Funny enough the problem solved itself.

When the shopping cart list grew and changed page, the problem stopped.

However, I cannot access the first part of the shopping carts.

Many thanks for your help.

 

Kind regards,

 

gg

  • Like 1
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...