Jump to content

Analysis error found in module braintreeofficial. syntax error, unexpected \'const\' (T_CONST).


GiulioBonini

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...