Jump to content

Address Problem


sirvova
 Share

Recommended Posts

2 hours ago, sirvova said:

Hey Guys,

I have a problem on my site , version 1.7.1.1 When user tries to add an address pressing the button it throws on 500 error page with this " order?id_address=0 "

How can I fix this problem?

Thx

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

 

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

19 hours ago, joseantgv said:

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

 

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. 

Share this post


Link to post
Share on other sites

  • 3 years later...

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

Share this post


Link to post
Share on other sites

1 hour ago, 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

 

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

 

image.thumb.png.d7e77e2496aec2ff0b41e9a66dcc5207.png

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More