Manoj Agarwal Posted November 12, 2019 Share Posted November 12, 2019 (edited) i uninstalled Mail Chimp from my Prestashop 1.6 and i got the following error [PrestaShop] Fatal error in module file :/home/paraspow/lelow.online/classes/module/Module.php(1361) : eval()'d code: syntax error, unexpected 'use' (T_USE) And now i cannot use prestashop modules any more when ever i try to do, it gives this error only. Please guide how to recover from this problem. regards, Manoj Edited November 12, 2019 by Manoj Agarwal (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted November 12, 2019 Share Posted November 12, 2019 It seems you have installed a module for PS 1.7 in a PS 1.6. You need to rename/remove the folder. Just access with FTP to your server and search for this module, and rename the folder. It should be /modules/mailchimp or similar. 3 Link to comment Share on other sites More sharing options...
Manoj Agarwal Posted November 13, 2019 Author Share Posted November 13, 2019 Thank you sir, Your reply was on time and it works very well. I love it. Regards, Manoj Link to comment Share on other sites More sharing options...
Roy Mckee Posted March 3, 2020 Share Posted March 3, 2020 Hello! I have similar problem but with this mesage: [PrestaShop] Fatal error in module file :/home/ao3pesaf/public_html/classes/module/Module.php(1361) : eval()'d code: syntax error, unexpected 'use' (T_USE) My version is 1.6.1.24 Anyone knows how can I solve this problem? Regards, Richard Link to comment Share on other sites More sharing options...
joseantgv Posted March 4, 2020 Share Posted March 4, 2020 hace 16 horas, Roy Mckee dijo: Hello! I have similar problem but with this mesage: [PrestaShop] Fatal error in module file :/home/ao3pesaf/public_html/classes/module/Module.php(1361) : eval()'d code: syntax error, unexpected 'use' (T_USE) My version is 1.6.1.24 Anyone knows how can I solve this problem? Regards, Richard Send me FTP and BO access in a Private Message and will check it. Link to comment Share on other sites More sharing options...
joseantgv Posted September 23, 2020 Share Posted September 23, 2020 hace 2 horas, Pablus dijo: Hi guys, any news about how to solve this issue? regads What's your problem? Link to comment Share on other sites More sharing options...
joseantgv Posted September 23, 2020 Share Posted September 23, 2020 - You are using an incorrect PHP version for your PS version: - This module seems for PS 1.7, not 1.6. Link to comment Share on other sites More sharing options...
joseantgv Posted September 24, 2020 Share Posted September 24, 2020 I recommend you to contact module developers 😉 Link to comment Share on other sites More sharing options...
mohanamarimuthumba@g Posted November 5, 2020 Share Posted November 5, 2020 (edited) On 11/12/2019 at 4:22 PM, joseantgv said: It seems you have installed a module for PS 1.7 in a PS 1.6. You need to rename/remove the folder. Just access with FTP to your server and search for this module, and rename the folder. It should be /modules/mailchimp or similar. I get this when I uninstalled mailchimp configuration module. [PrestaShop] Fatal error in module file :/home/fabsnlooms/public_html/classes/module/Module.php(1361) : eval()'d code: syntax error, unexpected 'use' (T_USE) Now I cant open the modules and services please help me Edited November 5, 2020 by mohanamarimuthumba@g (see edit history) Link to comment Share on other sites More sharing options...
Pianetasvapo Posted January 6, 2021 Share Posted January 6, 2021 (edited) Ciao, Stavo disinstallando dal back office alcuni moduli disabilitati dal sito e improvvisamente è apparsa questa voce: [PrestaShop] Errore fatale nel file del modulo: /home/o1vpe8koaw70/public_html/classes/module/Module.php (1361): eval () 'd code: errore di sintassi, "uso" imprevisto (T_USE) Potete aiutarmi con la soluzione: in generale tutto sembra funzionare ma quando richiedo i moduli ottengo questo errore. Non so quale sia il modulo che riceve l'errore perché non riesco ad entrare nella sessione del modulo a causa di questo errore Prestashop versione 1.6.1.24 Php 7.1 I've made the dowgrade of php at 5.6 version and It works, so the module that cause the error is mailchimp with two advice: mailchimppro (errore di analisi in /modules/mailchimppro/mailchimppro.php) mailchimppro (classe mancante in /modules/mailchimppro/mailchimppro.php) What is the solution? Grazie Edited January 6, 2021 by Pianetasvapo (see edit history) Link to comment Share on other sites More sharing options...
Prestachamps Posted January 6, 2021 Share Posted January 6, 2021 (edited) Hi, Try deleting the line 20, which contains the following: use PrestaChamps\MailchimpPro\Formatters\ListMemberFormatter; from the modules/mailchimppro/mailchimppro.php file Edited January 6, 2021 by Leo @ Prestachamps (see edit history) 1 1 Link to comment Share on other sites More sharing options...
Pianetasvapo Posted January 6, 2021 Share Posted January 6, 2021 (edited) Ciao, ho fatto un downgrade del Php a 5.6 e sono riuscito ad entrare nei moduli così ho reinstallato di lì il modulo e riportato a php 7.1 per ora funziona però mi è uscito questo tra le info di ps: Files aggiornati (4) themes/default/template/controllers/dashboard/helpers/view/view.tpl classes/Rijndael.php classes/Category.php controllers/admin/AdminCategoriesController.php Edited January 6, 2021 by Pianetasvapo (see edit history) Link to comment Share on other sites More sharing options...
Prestachamps Posted January 7, 2021 Share Posted January 7, 2021 Va benissimo, puoi ignorarli. 1 Link to comment Share on other sites More sharing options...
antoniocampospereira Posted April 5, 2021 Share Posted April 5, 2021 por favor ajudem-me tenho este erro em modulos e não tenho mas acesso. [PrestaShop] Erro fatal no arquivo do módulo: /home/jf3wy6cn/public_html/classes/module/Module.php (1361): eval () 'd código: erro de sintaxe, inesperado' uso '(T_USE) Link to comment Share on other sites More sharing options...
joseantgv Posted April 8, 2021 Share Posted April 8, 2021 En 5/4/2021 a las 3:01 AM, antoniocampospereira dijo: por favor ajudem-me tenho este erro em modulos e não tenho mas acesso. [PrestaShop] Erro fatal no arquivo do módulo: /home/jf3wy6cn/public_html/classes/module/Module.php (1361): eval () 'd código: erro de sintaxe, inesperado' uso '(T_USE) This is English forum. Please open a new thread. 1 Link to comment Share on other sites More sharing options...
J.Andrade Posted July 2, 2021 Share Posted July 2, 2021 Em 12/11/2019 em 7:52 PM, joseantgv disse: luckily i found you. had this same problem. I renewed the folder and it worked very well. Congratulations on your help.It seems you have installed a module for PS 1.7 in a PS 1.6. You need to rename/remove the folder. Just access with FTP to your server and search for this module, and rename the folder. It should be /modules/mailchimp or similar. 1 Link to comment Share on other sites More sharing options...
ShopSilver Posted January 28, 2022 Share Posted January 28, 2022 I have simillar problem and it happend after update PrestaShop Account v5.2.3 and now Im get this warring [PrestaShop] Fatal error in module file :/data/www/shopsilver.cz/www.shopsilver.cz/classes/module/Module.php(1361) : eval()'d code: syntax error, unexpected 'use' (T_USE) Of course now I cannot open the Modules and Services Which name of folder on the FTP it is? ps_accounts, or another? Thank you so much... SS Link to comment Share on other sites More sharing options...
Prestachamps Posted January 28, 2022 Share Posted January 28, 2022 Hi, I'm only presuming you're using a low PHP version. Can you let us know the PHP version your site use? Go to FTP /find the module folder/ search there the "ps_accounts" module and rename it;) I hope it helps Leo Link to comment Share on other sites More sharing options...
ShopSilver Posted January 28, 2022 Share Posted January 28, 2022 So finally Im solved with remove module with name ps_eventbus from my FTP, which was created after the module update.. Now it working again well and Im able displayed and open the Module and servies in administration back office .. Current modul ps_account Im keep. My version of PHp is 7.1 Link to comment Share on other sites More sharing options...
Ana B Posted January 10, 2023 Share Posted January 10, 2023 (edited) On 11/12/2019 at 12:52 PM, joseantgv said: It seems you have installed a module for PS 1.7 in a PS 1.6. You need to rename/remove the folder. Just access with FTP to your server and search for this module, and rename the folder. It should be /modules/mailchimp or similar. I don't have that folder. Can you help me please? Edited January 10, 2023 by Ana B (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted January 11, 2023 Share Posted January 11, 2023 18 hours ago, Ana B said: I don't have that folder. Can you help me please? Which error do you have? Link to comment Share on other sites More sharing options...
scarlino9 Posted February 8 Share Posted February 8 Buonasera da qualche settimana sul mio non riesco piu ad accedere a i moduli dal pannello di controllo..ma io non ho installato ne tolto nessun modulo. qualcuno potrebbe aiutarmi [PrestaShop] Fatal error in module file :/web/htdocs/www.luciaricami.it/home/classes/module/Module.php(1361) : eval()'d code: syntax error, unexpected 'use' (T_USE) questo è quello che esce quando provo ad aprire.. non riesco a capire quale sia il problema. grazie in anticipo 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