Title: Fatal Error
Last modified: April 19, 2017

---

# Fatal Error

 *  Resolved [jacqualinelee](https://wordpress.org/support/users/jacqualinelee/)
 * (@jacqualinelee)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-2524/)
 * Updated the plugin and was immediately greeted with a fatal error!!! Once the
   plugin was update site went down with Server 500 error – I deactivated plugin
   via web hosting.
 * When I go to reactivate this is the message:
    “Plugin could not be activated 
   because it triggered a fatal error. Fatal error: Can’t use function return value
   in write context in /home12/XXXX/public_html/wp-content/plugins/yith-woocommerce-
   gift-cards/lib/class.yith-woocommerce-gift-cards.php on line 593”

Viewing 1 replies (of 1 total)

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-2524/#post-9048218)
 * Hi,
    it seems an error due to an obsolete version of PHP, please check that you
   have at least the PHP 5.6 version.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/yith-woocommerce-gift-cards/assets/icon-256x256.gif?rev=
   3227932)
 * [YITH WooCommerce Gift Cards](https://wordpress.org/plugins/yith-woocommerce-gift-cards/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-gift-cards/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-gift-cards/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-gift-cards/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-gift-cards/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-gift-cards/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-2524/#post-9048218)
 * Status: resolved