stiliova Posted April 24, 2017 Share Posted April 24, 2017 (edited) Hello, It's just been a week since I started playing around with Prestashop. Yesterday i tried installing a new theme, but got some error and just dropped it for the day. I am still using the default bootstrap theme. Today I logged in to my admin panel and after pressing on "modules" I get this error: [PrestaShop] Fatal error in module file /public_html/classes/module/Module.php(1361) : eval()'d code:'continue' not in the 'loop' or 'switch' context Everything on the website works just the way it should, but I can't go to modules and configure any of them. Please advise me on what to do. BTW we have a family business of selling womens clothing in a shop we own and I decided I could tackle the project of going to e-commerce. Edited April 24, 2017 by stiliova (see edit history) Link to comment Share on other sites More sharing options...
RiaShop Posted October 11, 2017 Share Posted October 11, 2017 (edited) If your version PHP is 7, then switch to PHP 5.6 Edited October 11, 2017 by svplim (see edit history) 1 Link to comment Share on other sites More sharing options...
Inter Svetainė Posted March 22, 2020 Share Posted March 22, 2020 You should NOT downgrade PHP version from 7 to 5.6! 5.6 version soon will reach it's end of life time. 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...
CarlosTeo Posted August 7, 2020 Share Posted August 7, 2020 Hi. I understand that switch of php but which file I should put the changes that Inter Svetainè sugest? I use PS 1.6 Thanks Link to comment Share on other sites More sharing options...
Minsky_ae Posted August 10, 2020 Share Posted August 10, 2020 Hi @CarlosTeo, I reckon you need to do the edit in the file your error message is listing: /public_html/classes/module/Module.php (1361 might be the line where the error occurs). 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