carbar Posted November 14, 2016 Share Posted November 14, 2016 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 More sharing options...
razaro Posted November 14, 2016 Share Posted November 14, 2016 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 More sharing options...
carbar Posted November 15, 2016 Author Share Posted November 15, 2016 OK I'll try that thanks 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