Jump to content

Fatal error in module file .../modules/g2apay/g2apay.php: syntax error


carbar

Recommended Posts

Hi,

 

I get this error right after installation of g2a payment module in backoffice

 

[PrestaShop] Fatal error in module file .../modules/g2apay/g2apay.php: syntax error, unexpected '['

 

Now I can't even uninstall it as the error pops up!

I'm using Prestashop 1.6.1.1

 

Thanks for the help

 

 

Link to comment
Share on other sites

You must have PHP version 5.3  and you get that error. Because in code

there is a lot of use of array like this [] and in 5.3 that cause error and  array()

could be use. But that would need changes on lot of places.

 

Do consider upgrading your PHP version and this post says 5.5 at lest but

you try https://www.prestashop.com/forums/topic/514928-g2apay-module-help/?p=2374127

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...