Jump to content

'SOLVED' - [PrestaShop] Fatal error in module file


nogram

Recommended Posts

Hi, I need some help.

I have upgraded my Prestashop from 1.6.1.15 to 1.6.1.16 in localhost where everthing seems to be working fine.

I have installed it online and it seems to be working ok, except the module menu in BO.

When I try to open the module, this error appears:

 

[PrestaShop] Fatal error in module file :/home/xxx/public_html/classes/module/Module.php(1361) : eval()'d code:
syntax error, unexpected '['

 

Can someone tell me what type of error this is and how to correct it?

 

Thank you.

 

 

Edited by nogram (see edit history)
Link to comment
Share on other sites

Post all error messages related to this error condition - not only the one.

 

My guess is your PHP version isn't compatible with your prestashop. That is one reason we always recommend not to test on localhost but instead in real environment with exact same specification and setup as in live-setup / production.

Edited by Scully (see edit history)
Link to comment
Share on other sites

  • 2 months later...

Hei,

 

I tried uploading the module which I believe had a requirement for higher PHP. As I result I cannot access the modules section on the backend anylonger.

How can I remove that module (which was in fact not even installed, just uploaded) without upgrading the PHP?

 

Thank you very much in advance!

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