Jump to content

Address Problem


sirvova

Recommended Posts

THANK YOU.. This is the problem:

[PrestaShopException]

Property Address->id_country is empty.
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. 

 

 

 

ANY ADVICE?

Link to comment
Share on other sites

  On 12/20/2018 at 9:45 PM, joseantgv said:

If you get error 500 or blank page, always turn on errors 

 

Expand  

THANK YOU.. This is the problem:

[PrestaShopException]

Property Address->id_country is empty.
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. 
Link to comment
Share on other sites

  • 3 years later...
  On 7/5/2022 at 9:44 AM, Prestachamps said:

Hi,

@Ayush Gupta Is the error the same?
If so, the country that is required is not selected and therefore does not allow the address to be saved.
But in order to help more, please send us a screenshot about error with debug mode.

Have a nice day

Kind regards,
Leo

Expand  

 

Here's the  screenshot which shows after click on continue...... It never goes to the shipping method 

 

image.thumb.png.d7e77e2496aec2ff0b41e9a66dcc5207.png

Link to comment
Share on other sites

  • 1 month later...
  On 7/5/2022 at 10:53 AM, Ayush Gupta said:

 

Here's the  screenshot which shows after click on continue...... It never goes to the shipping method 

 

image.thumb.png.d7e77e2496aec2ff0b41e9a66dcc5207.png

Expand  

We are having EXACTLY this same issue. After entering the address we get redirected to order?id_address=0 and it never saves. Did you resolve this? I'd love to know your solution. Thank you. 

Link to comment
Share on other sites

  • 6 months later...
  • 3 months later...

Hello.

I have same problem, When placing the first order as a guest, in step 2. Addresses, when a country other than Poland is chosen the address is not saved (the url becomes order?id_address=0), but if the first address added is an address in Poland, then additional addresses in other countries can be added.

What might be causing this problem, which prevents adding an address in a country other than Poland as a guest's first address?

Can sombody help me?

 

Link to comment
Share on other sites

  On 6/2/2023 at 11:58 AM, Andrejkov said:

Hello.

I have same problem, When placing the first order as a guest, in step 2. Addresses, when a country other than Poland is chosen the address is not saved (the url becomes order?id_address=0), but if the first address added is an address in Poland, then additional addresses in other countries can be added.

What might be causing this problem, which prevents adding an address in a country other than Poland as a guest's first address?

Can sombody help me?

 

Expand  

All of sudden or do we deal here with a newly set up shop?

Link to comment
Share on other sites

You must make sure that in International / Countries you have the same fields for all countries, I think there is one that you have put too much in other countries and that is why it gives an error.

 

Best regards

Link to comment
Share on other sites

  On 6/2/2023 at 12:48 PM, Nickz said:

All of sudden or do we deal here with a newly set up shop?

Expand  

Its a newly set up shop, PS. 1.7.8.

  On 6/2/2023 at 1:21 PM, Igbarah said:

You must make sure that in International / Countries you have the same fields for all countries, I think there is one that you have put too much in other countries and that is why it gives an error.

Expand  

I checked and i have same fields there.

Here is video shows my problem: https://www.youtube.com/watch?v=3dkSUV-gSzY

Regards.

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