Title: Latest Plugin update causing fatal error
Last modified: July 8, 2022

---

# Latest Plugin update causing fatal error

 *  [dominicdacosta](https://wordpress.org/support/users/dominicdacosta/)
 * (@dominicdacosta)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/latest-plugin-update-causing-fatal-error/)
 * With the latest release of peach payments 19hrs ago from this being created, 
   I can no longer access the back end of my site, as i get a critical error message.
   
   I checked the server logs and found this error:
 *     ```
       Parse error: syntax error, unexpected 'add_action' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /www/cs00355_254/public/wp-content/plugins/wc-peach-payments-gateway/woocommerce-gateway-peach-payments.php on line 1602
       ```
   
 * I subseqiently deleted the plugin and re-downloaded and tried to reactivate but
   am not able to as the activation is triggering a fatal error as well.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flatest-plugin-update-causing-fatal-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [peachpayments](https://wordpress.org/support/users/peachpayments/)
 * (@peachpayments)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/latest-plugin-update-causing-fatal-error/#post-15901697)
 * [@dominicdacosta](https://wordpress.org/support/users/dominicdacosta/) this would
   have been a compatibility issue with older versions of PHP. Do let me know if
   this is still happening. We released some update to fix the compatibility issues.

Viewing 1 replies (of 1 total)

The topic ‘Latest Plugin update causing fatal error’ is closed to new replies.

 * ![](https://ps.w.org/wc-peach-payments-gateway/assets/icon-128x128.jpg?rev=2708083)
 * [Peach Payments Gateway](https://wordpress.org/plugins/wc-peach-payments-gateway/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-peach-payments-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-peach-payments-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-peach-payments-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-peach-payments-gateway/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [peachpayments](https://wordpress.org/support/users/peachpayments/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/latest-plugin-update-causing-fatal-error/#post-15901697)
 * Status: not resolved