vezy Posted September 17, 2019 Share Posted September 17, 2019 Hi, I'm using Prestashop 1.6.10 and I just realized that the blockcart does not alqays save the added products (depending on browser) when the customer is just a visitor (not logged in) It works in chrome but not in Brave for example.... When I went to take a closer look at this, I went to the blockcart module and clicked on configure and got this message : [PrestaShop] Fatal error in module file :/home/manofact/public_html/classes/module/Module.php(1361) : eval()'d code: syntax error, unexpected 'use' (T_USE) If anyone can please enlighten me - Things tried already: -Re'installed the blockcart module -Re-uploaded backup of Module.php file - emptied navigator cache - de-activated several modules installed recently as well as Litecache module to no avail My store is here: https://mano-facto.com Many thanks for your much needed help in advance Veronique Link to comment Share on other sites More sharing options...
tuk66 Posted September 18, 2019 Share Posted September 18, 2019 Try to disable or uninstall the Facebook module. It seems some browser can't go over its JavaScript error. Link to comment Share on other sites More sharing options...
vezy Posted September 18, 2019 Author Share Posted September 18, 2019 Hi tuk66, thank you very much for your response :) Done, but I still get the fatal error when I click on blockcart module in the back office... which means there is an issue there.... [PrestaShop] Fatal error in module file :/home/manofact/public_html/classes/module/Module.php(1361) : eval()'d code: syntax error, unexpected 'use' (T_USE) Any idea? Many thanks Link to comment Share on other sites More sharing options...
tuk66 Posted September 18, 2019 Share Posted September 18, 2019 What PHP version are you using? Link to comment Share on other sites More sharing options...
vezy Posted September 18, 2019 Author Share Posted September 18, 2019 hi, PHP 7.2 .... Link to comment Share on other sites More sharing options...
tuk66 Posted September 18, 2019 Share Posted September 18, 2019 You shouldn't use PHP 7.2 with PrestaShop 1.6.1. I would use PHP 5.6 or 7.0. 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