aekval Posted June 1, 2017 Share Posted June 1, 2017 Hello, I need your help, please. I transferred my data to a new hosting plan, I created a new database and I uploaded my old database, I changed the database information in the settings.inc.php file when I tried to open my website: niatti.com I get this error: Fatal error: 'continue' not in the 'loop' or 'switch' context in /homepages/22/d682672202/htdocs/niatti.com/prestashop/modules/fieldmegamenu/fieldmegamenu.php on line 705 How to fix this problem, please. Thank you for your help. Link to comment Share on other sites More sharing options...
Inter Svetainė Posted March 22, 2020 Share Posted March 22, 2020 This happened, because in previuos server PHP version was 5.6 and in new server/hosting plan is PHP 7.X To fix this error simply go to the code and everywhere You see continue which is not in the loop o switch case.. Change it to return false 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