• Resolved wurzelsepp1

    (@alexprepo)


    Hi Woo ??
    after updating the plugin (woo) we experience a fail of wp cli.

    error:

    /wp-content/plugins/woocommerce/includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-ssr-controller.php on line 53

    Parse error: syntax error, unexpected ‘)’

    This happens often, when plugins come with syntax errors .. but Woo is not ‘a plugin’ it’s kind of ‘the plugin’ ??

    will you fix it today or should we do that?

    Best regards,

    alex

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @alexprepo

    Thanks for reaching out!

    I understand you’re experiencing an error after updating the WooCommerce plugin, specifically a syntax error in the class-wc-rest-wccom-site-ssr-controller.php file.

    I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    • System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
    • Fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Once we have more information, we’ll be able to assist you further.

    Thread Starter wurzelsepp1

    (@alexprepo)

    We had to fix that error in the meantime, as the website was not useable anymore.

    you can easily reproduce that error when using wp cli – or just looking into the file. there is no system info needed to see, that there are syntax errors ..

    Saif

    (@babylon1999)

    Hello @alexprepo,

    Thank you for the reply!

    I can replicate the issue when updating WooCommerce via the CLI:


    Link to image: https://d.pr/i/jOrLcN

    Could you kindly provide us with screenshots of the error you’re experiencing, along with the steps to reproduce it?

    Additionally, we would appreciate it if you could share your system status report with us. This will assist us in replicating your site’s setup and better understanding the issue. If you’re uncomfortable sharing your site URL, then feel free to remove it from the logs. :?)

    Look forward to hearing back from you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Parse error after update’ is closed to new replies.