Title: Parse error after update
Last modified: June 22, 2023

---

# Parse error after update

 *  Resolved [wurzelsepp1](https://wordpress.org/support/users/alexprepo/)
 * (@alexprepo)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/parse-error-after-update-13/)
 * 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)

 *  [xue28 (woo-hc)](https://wordpress.org/support/users/xue28/)
 * (@xue28)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/parse-error-after-update-13/#post-16855079)
 * Hi [@alexprepo](https://wordpress.org/support/users/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/](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](https://wordpress.org/support/users/alexprepo/)
 * (@alexprepo)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/parse-error-after-update-13/#post-16857367)
 * 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](https://wordpress.org/support/users/babylon1999/)
 * (@babylon1999)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/parse-error-after-update-13/#post-16866119)
 * Hello [@alexprepo](https://wordpress.org/support/users/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](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.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)

 * 3 replies
 * 3 participants
 * Last reply from: [Saif](https://wordpress.org/support/users/babylon1999/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/parse-error-after-update-13/#post-16866119)
 * Status: resolved