0

When I enter prestashop back office and click the modules tab in the top menu it is giving the following error, prestashop version 1.5.3.1

[PrestaShop] Fatal error in module Api: syntax error, unexpected T_FUNCTION, expecting ')'

Any help would be greatly appreciated, searched prestashop forums and cannot find a solution

Thanks in advance

2 Answers 2

0

It may be related to version of PHP. I had this problem because of unsupported version of module. What I did was turn on the debug mode on PrestaShop which showed me in what module error was happening and then just removed that module from PrestaShop installation diretory, modules folder.

If you are using that module, you could backup it, then re-installing it, etc.

Sign up to request clarification or add additional context in comments.

Comments

-1

It turned out it was a problem with Youstice v1.7.2 module

It was causing the API error, what we did in the end was change the name of a folder in the public_html>modules from- "yousticeresolutionsystem" to "yousticeresolutionsystemX"

because it wouldn't allow me to delete the folder to stop the API error.

By using X this in effect deletes the folder stopping the error

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.