GiulioBonini Posted December 19, 2020 Share Posted December 19, 2020 Hi everyone, I have a Paypal module version 5.3.1 (from 202 ecommerce) and I'm getting this error quite often in the Prestashop logs: Analysis error found in module braintreeofficial. syntax error, unexpected \'const\' (T_CONST). I get this error almost every day. Sometimes I get 2 or 3 of them in a few seconds For example: 15/12/2020 15:46:22 15/12/2020 15:46:23 15/12/2020 15:46:29 15/12/2020 15:59:06 15/12/2020 15:59:06 15/12/2020 15:59:31 Prestashop says this is severity error level 4 Can you help me to solve this please? Thanks, Giulio Link to comment Share on other sites More sharing options...
202ecommerce Posted December 21, 2020 Share Posted December 21, 2020 Hi, from your message it appears that you use both the Braintree and PayPal modules. We recommend not using the two modules together. Braintree also offers payment via PayPal so you can deactivate the PayPal module. I also recommend checking the PHP version of your site. PayPal requires PHP v.5.4 or later for PrestaShop 1.7.0 - 1.7.3 or PHP v.5.6 or later for PrestaShop 1.7.4. If after the checks, the problem persists, contact the support service: https://addons.prestashop.com/it/contact-us?id_product=1748 Team 202-ecommerce Link to comment Share on other sites More sharing options...
GiulioBonini Posted December 22, 2020 Author Share Posted December 22, 2020 Hi, I don' t have the Braintree module installed. My php version is 7.1.33 My prestashop version is 1.7.0.5. Regrards, Giulio Link to comment Share on other sites More sharing options...
202ecommerce Posted December 23, 2020 Share Posted December 23, 2020 Hi, Thanks for your email. If you need our support, please contact us on Prestashop Addons in the next link: https://addons.prestashop.com/en/contact-us?id_product=27282 Thank you for your understanding. Best regards, Support - 202 ecommerce Link to comment Share on other sites More sharing options...
GiulioBonini Posted December 24, 2020 Author Share Posted December 24, 2020 Hi, I just want to add that the error still occours even in I disable EVERY module of my prestashop. Quite odd isn't it? Regrards and merry Christmas, Giulio 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