Title: E_PARSE Error
Last modified: April 12, 2022

---

# E_PARSE Error

 *  Resolved [um12](https://wordpress.org/support/users/um12/)
 * (@um12)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/e_parse-error-5/)
 * 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](https://wordpress.org/support/users/sebd86/)
 * (@sebd86)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/e_parse-error-5/#post-15552219)
 * Hi [@um12](https://wordpress.org/support/users/um12/)
 * Thank you for reporting the error. Not sure what would have caused that. The 
   code looks correct [in the repository](https://github.com/co-cart/co-cart/blob/trunk/includes/api/cocart/v2/others/class-cocart-store-controller.php#L60).
   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](https://wordpress.org/support/users/um12/)
 * (@um12)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/e_parse-error-5/#post-15552530)
 * Hey [@sebd86](https://wordpress.org/support/users/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 4 years, 1 month ago by [um12](https://wordpress.org/support/users/um12/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘E_PARSE Error’ is closed to new replies.

 * ![](https://ps.w.org/cart-rest-api-for-woocommerce/assets/icon-256x256.png?rev
   =3220815)
 * [CoCart - Headless REST API for WooCommerce](https://wordpress.org/plugins/cart-rest-api-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cart-rest-api-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cart-rest-api-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/cart-rest-api-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cart-rest-api-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cart-rest-api-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [um12](https://wordpress.org/support/users/um12/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/e_parse-error-5/#post-15552530)
 * Status: resolved