Page 1 of 1

[Solved] PHP Notice: Undefined variable: shipping_address

Posted: Mon Jan 23, 2017 3:44 pm
by magzen
Hello

Everytime i try to checkout at the very end when clicking "Confirm Order" i get the following popup error

Code: Select all

PHP Notice:  Undefined variable: shipping_address in /home/admin/web/aladdinsvapor.com/public_html/system/storage/modification/catalog/controller/journal2/checkout.php on line 475
line 475

Code: Select all

	$query = $this->db->query("SELECT geo_zone_id FROM " . DB_PREFIX . "zone_to_geo_zone WHERE country_id = '" . (int)$shipping_address['country_id'] . "' AND (zone_id = '" . (int)$shipping_address['zone_id'] . "' OR zone_id = '0')");
i checked the file on line 475 but dont know what the issue is, does someone know how to solve this?

checkout file attached

Image

Re: PHP Notice: Undefined variable: shipping_address in /ho

Posted: Mon Jan 23, 2017 8:21 pm
by magzen
The issue was solved, it was an extension that needed update to work properly with the latest version of Journal2 theme on one page checkout