• Resolved um12

    (@um12)


    Hey Guys,

    during the last days i repeadatly get a mail from wordpress telling me that there is a critical Error on one of our WordPress Pages. Though there is everything working fine, the Site is up and running and i can’t reproduce the Error, I’m still a little concerned about what is going on.

    Error-Details:

    Mistake of Type E_PARSE in Row 60 caused by
    …/plugins/cart-rest-api-for-woocommerce/includes/api/cocart/v2/others/class-cocart-store-controller.php . Error: syntax error, unexpected ‘)’

    the route is working fine, too. I would apprechiate any help or Ideas.

    Wordpress 5.9.2
    CoCart Lite 3.4.1
    PHP 7.2.34

    if more information is needed, feel free to contact me.

    Greetings,
    um

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sébastien Dumont

    (@sebd86)

    Hi @um12

    Thank you for reporting the error. Not sure what would have caused that. The code looks correct in the repository. Did you edit the plugin at any point directly?

    Also, the minium PHP requirement is PHP 7.3

    Testing and supporting with lower versions of PHP lower than 7.3 is no longer supported.

    If you are not able to replicate the issue then I guess it could have been just a rate occurance with your server.

    P.S. How are you liking CoCart so far?

    Thread Starter um12

    (@um12)

    Hey @sebd86 ,

    thank you for the lightning fast answer. No modifications were made to the Plugin, same as in the repository, I updated PHP and will keep you updated on future errors.

    I’m really enjoying the Plugin as it is! It works fine (except for that error, but this looks like a server thing) and the documentation is a dream! Though I thought about a modification to add multiple different items to the cart in one call -> doing multiple calls atm.

    Greetings,
    um

    • This reply was modified 2 years, 11 months ago by um12.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘E_PARSE Error’ is closed to new replies.