Title: plugin throws WP critical error
Last modified: December 29, 2020

---

# plugin throws WP critical error

 *  [lacanela](https://wordpress.org/support/users/lacanela/)
 * (@lacanela)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/plugin-throws-wp-critical-error/)
 * Your plugin throws a WP critical, when changing language. I use WPML, latest 
   version, WP latest version, YITH 2.0.9.

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

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/plugin-throws-wp-critical-error/#post-13848532)
 * Hello there,
    hope you are doing well! 🙂
 * Could you share with us the error generated so we can try to replicate and fix
   it, please?
 * Let us know any news.
 * Have a nice day!
 *  Thread Starter [lacanela](https://wordpress.org/support/users/lacanela/)
 * (@lacanela)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/plugin-throws-wp-critical-error/#post-13848841)
 * When your plugin is activated the following happens:
    – I go the site (lacanela.
   com), no problem: [https://share.getcloudapp.com/d5uPDKbE](https://share.getcloudapp.com/d5uPDKbE)–
   I switch to English, and this happens: [https://share.getcloudapp.com/ApuGgpOo](https://share.getcloudapp.com/ApuGgpOo)
 * When I deactivate the plugin, and clear the cache, the English version runs normally:
   
   [https://share.getcloudapp.com/Z4uqG06P](https://share.getcloudapp.com/Z4uqG06P)
 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/plugin-throws-wp-critical-error/#post-13867768)
 * Hello there,
 * hope you are doing well 🙂
 * We need to know which error is generated to try to reproduce the problem and 
   fix it. So, please, share with us the error you are getting. You have to enable
   the WordPress debug mode in the wp-config.php file of your installation and a
   new file called debug.log will be generated in wp-content, in which all these
   errors are stored.
 * Let us know any news, please.
 * Have a nice day!

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

The topic ‘plugin throws WP critical 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/)

## Tags

 * [critical error](https://wordpress.org/support/topic-tag/critical-error/)

 * 3 replies
 * 2 participants
 * Last reply from: [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/plugin-throws-wp-critical-error/#post-13867768)
 * Status: not resolved