Pr3torian Posted September 3, 2016 Share Posted September 3, 2016 I need some help... Was in backoffice and clicked on the Modules menu and I get this error msg on a blank window. can any1 plz help me out with this ? Appreciate all help I can get!! [PrestaShop] Fatal error in module file :/customers/5/1/b/glittrigating.se/httpd.www/classes/module/Module.php(1361) : eval()'d code:syntax error, unexpected 'use' (T_USE) /Daniel Link to comment Share on other sites More sharing options...
vekia Posted September 4, 2016 Share Posted September 4, 2016 hello it looks like that issue is related to recently added module. you added some modules before this problem started to appear? Link to comment Share on other sites More sharing options...
Pr3torian Posted September 5, 2016 Author Share Posted September 5, 2016 Hi ! Yes I added 1 module... but I cant remove it since I cant load modules page.. Added 1 module that I didn't know what it was to check it out.. cant remember its name now, Can you help me somehow ? /Daniel Link to comment Share on other sites More sharing options...
vekia Posted September 5, 2016 Share Posted September 5, 2016 you need to connect to your host FTP service go to /modules/ directory sort files and directories by "recently changed" remove directory of the module you added to the shop this should solve your problem Link to comment Share on other sites More sharing options...
thryciuk Posted September 5, 2016 Share Posted September 5, 2016 Hi, I had the same error today and renamed the module as vekia said to do. In my modules there are some that look odd compared to the other modules. When i click on install it will crash. Please see attached picture. Thanks Trevor Link to comment Share on other sites More sharing options...
Pr3torian Posted September 5, 2016 Author Share Posted September 5, 2016 Hi again! it worked just fine for me to! it was the ps_banner that screwed with me... thanks again for your help Vekia!! //Daniel Link to comment Share on other sites More sharing options...
softhightech Posted March 29, 2017 Share Posted March 29, 2017 but the error is not with the module for me the question is why syntax error, unexpected 'use' (T_USE) is not accepted by prestashop. 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