goodboy88 Posted September 15, 2011 Share Posted September 15, 2011 I upgrade from v1.4.3 to 1.4.4.1. In 1.4.3 everything is ok but after i upgrade it an error occur when i login to my webpage to make purchases. When i try to click to "add a new address" button an error occur. It gives a message Warning: Invalid argument supplied for foreach() in public_html/classes/AddressFormat.php on line 448. I had try to reupload the file but it didn't seem working. How to resolve it? Link to comment Share on other sites More sharing options...
goodboy88 Posted September 16, 2011 Author Share Posted September 16, 2011 Please Help!!! Link to comment Share on other sites More sharing options...
zyko Posted September 17, 2011 Share Posted September 17, 2011 on line 448 following code is there foreach($keyList as $word_item) $out[] = trim($word_item); replace it with if(is_array($keyList)) { foreach($keyList as $word_item) $out[] = trim($word_item); } Thanks Delonix 1 Link to comment Share on other sites More sharing options...
goodboy88 Posted September 17, 2011 Author Share Posted September 17, 2011 on line 448 following code is there foreach($keyList as $word_item) $out[] = trim($word_item); replace it with if(is_array($keyList)) { foreach($keyList as $word_item) $out[] = trim($word_item); } Thanks Delonix After using your code the error message didn't occur already but after i click add new address then add information on it then click save then it came out fatal error which above the url is mydomain.com/address.php. Besides, when i click add new address button, a form will come out for me to fill up the information. Under the form, only additonal information, home phone, mobile phone and assingn an address title for future reference for me to fill it up. It didn't have the address box for me to fill up my address. Is this correct? Or is it once i click save button it will redirect me to address.php to fill up my address? About the fatal error message, it occur before and after i use you code. Is it there is an error in address.php file? Link to comment Share on other sites More sharing options...
goodboy88 Posted September 21, 2011 Author Share Posted September 21, 2011 Please help!!! Anyone please.... Link to comment Share on other sites More sharing options...
goodboy88 Posted October 18, 2011 Author Share Posted October 18, 2011 Problem solve after i upgrade from v1.4.4.1 to 1.4.5.1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now