pgiovas Posted December 23, 2015 Share Posted December 23, 2015 In this page ( http://mxurbano.com/index.php ), I'm getting this errors after migrating: Warning: Invalid argument supplied for foreach() in /home/pgiovas4/public_html/mxurbano.com/classes/shop/Shop.php on line 332Warning: Cannot modify header information - headers already sent by (output started at /home/pgiovas4/public_html/mxurbano.com/classes/shop/Shop.php:332) in /home/pgiovas4/public_html/mxurbano.com/classes/exception/PrestaShopException.php on line 37 500 Server ErrorOops, something went wrong.Try to refresh this page or feel free to contact us if the problem persists. Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/pgiovas4/public_html/mxurbano.com/classes/exception/PrestaShopException.php on line 147Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/pgiovas4/public_html/mxurbano.com/classes/log/FileLogger.php on line 41 Link to comment Share on other sites More sharing options...
Vipul Hadiya Posted December 23, 2015 Share Posted December 23, 2015 In this page ( http://mxurbano.com/index.php ), I'm getting this errors after migrating: Warning: Invalid argument supplied for foreach() in /home/pgiovas4/public_html/mxurbano.com/classes/shop/Shop.php on line 332 Warning: Cannot modify header information - headers already sent by (output started at /home/pgiovas4/public_html/mxurbano.com/classes/shop/Shop.php:332) in /home/pgiovas4/public_html/mxurbano.com/classes/exception/PrestaShopException.php on line 37 500 Server ErrorOops, something went wrong. Try to refresh this page or feel free to contact us if the problem persists. Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/pgiovas4/public_html/mxurbano.com/classes/exception/PrestaShopException.php on line 147 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/pgiovas4/public_html/mxurbano.com/classes/log/FileLogger.php on line 41 At very first it is not safe for you to share your web directory name anywhere. I am saying about "pgiovas4". From your error it seems it occurs because of any variable of outdated module which is mandatory in latest version but not in old version. What issue is your foreach loop gets an empty array. If you are technical person than track the value of that array and you will get solution for sure by yourself. 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