Rana Abdullah Posted May 23, 2022 Share Posted May 23, 2022 I am using Prestashop 1.6.1.20. Whenever I click Modules and services, it gives me following error. Parse error: syntax error, unexpected 'use' (T_USE) in /home/fiaokr2iosoy/public_html/classes/module/Module.php(1361) : eval()'d code on line 27 [PrestaShop] Fatal error in module file :/home/fiaokr2iosoy/public_html/classes/module/Module.php(1361) : eval()'d code: syntax error, unexpected 'use' (T_USE) I tried to upgrade my prestashop from 1.6 to 1.7 and after that this error started. There are many addons which only works with the latest version so that's why I tried to upgrade. I also tried to find solutions but all of them are too advance. If anyone can help me or show me a better link to solve this error, it will be a great help. Link to comment Share on other sites More sharing options...
Rhobur Posted May 24, 2022 Share Posted May 24, 2022 That is most likely due to you using a PHP version not supported by PS1.6+, revert to PHP7.0/7.1 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