Title: Parse Error after recent update
Last modified: January 14, 2022

---

# Parse Error after recent update

 *  Resolved [vervexart](https://wordpress.org/support/users/vervexart/)
 * (@vervexart)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/parse-error-after-recent-update-2/)
 * Since we updated Advanced Coupons we’re getting this error message:
 * Plugin could not be activated because it triggered a fatal error.
    Parse error:
   syntax error, unexpected ‘)’ in /home/anakcosm/public_html/wp-content/plugins/
   advanced-coupons-for-woocommerce-free/Models/Editor_Blocks.php on line 470
 * This would be Version 3.1. We have the premium version of the plugin too but 
   cannot use it because the Free version needs to be activated. This is causing
   some issues. After updating the plugin, it crashed our site for the reason stated
   above.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-after-recent-update-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Fauzan Azizie](https://wordpress.org/support/users/fauzanade/)
 * (@fauzanade)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/parse-error-after-recent-update-2/#post-15251466)
 * Hi [@vervexart](https://wordpress.org/support/users/vervexart/),
 * I’m sorry about this issue. From the error log you provided, we were able to 
   point out the issue with PHP 7.2 and lower. Please kindly update your plugin 
   to the latest version of 3.1.1 and this will fix the issue.
 * Please let me know how it goes. Looking forward to your reply 🙂
 * Best Regards

Viewing 1 replies (of 1 total)

The topic ‘Parse Error after recent update’ is closed to new replies.

 * ![](https://ps.w.org/advanced-coupons-for-woocommerce-free/assets/icon-256x256.
   png?rev=2760901)
 * [Advanced Coupons for WooCommerce Coupons & Store Credit](https://wordpress.org/plugins/advanced-coupons-for-woocommerce-free/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-coupons-for-woocommerce-free/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-coupons-for-woocommerce-free/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-coupons-for-woocommerce-free/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-coupons-for-woocommerce-free/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-coupons-for-woocommerce-free/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Fauzan Azizie](https://wordpress.org/support/users/fauzanade/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/parse-error-after-recent-update-2/#post-15251466)
 * Status: resolved