Jump to content

Invalid address #11 at line 441 in file classes/Address.php


Recommended Posts

J'ai une erreur mentionnée ci-dessous. Elle empêche apparemment le visiteur ssur mon site de créer un compte ou passer une commande.

Si quelqu'un a une solution, merci d'avance.

 

Invalid address #11
at line 441 in file classes/Address.php

436.             // if an id_address has been specified retrieve the address
437.             if ($id_address) {
438.                 $address = new Address((int)$id_address);
439. 
440.                 if (!Validate::isLoadedObject($address)) {
441.                     throw new PrestaShopException('Invalid address #'.(int)$id_address);
442.                 }
443.             } elseif ($with_geoloc && isset($context->customer->geoloc_id_country)) {
444.                 $address             = new Address();
445.                 $address->id_country = (int)$context->customer->geoloc_id_country;
446.                 $address->id_state   = (int)$context->customer->id_state;
Link to comment
Share on other sites

  • 5 months later...

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...