Title: Plugin crashes website
Last modified: November 23, 2021

---

# Plugin crashes website

 *  Resolved [ahmad21](https://wordpress.org/support/users/ahmad21/)
 * (@ahmad21)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-crashes-website-4/)
 * Was really happy with how this plugin worked initially, only to get a critical
   error that crashed my whole site.
 * Uncaught Error: Call to undefined function is_ajax() in /home/Cpanelusername/
   public_html/preview/wp-content/plugins/woo-multi-currency/frontend/symbol.php:
   177
 * I suspect there is a conflict with Jetpack and W3 total cache – both of which
   I’m using. Enabling/disabling the “Use cache plugin” feature still results in
   a crash.
 * Please let me know asap so I can determine whether the PRO version is worth buying
   or not. I don’t wanna waste money on something that can crash my website.
 * Urgently,
    Ahmad

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

 *  [kimvt1991](https://wordpress.org/support/users/kimvt1991/)
 * (@kimvt1991)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-crashes-website-4/#post-15111972)
 * Hello Ahmad,
    Our plugin only runs when WooCommerce is active and `is_ajax()`
   is a WooCommerce’s core function:
 *     ```
       if ( ! function_exists( 'is_ajax' ) ) {
   
       	/**
       	 * Is_ajax - Returns true when the page is loaded via ajax.
       	 *
       	 * @return bool
       	 */
       	function is_ajax() {
       		return function_exists( 'wp_doing_ajax' ) ? wp_doing_ajax() : Constants::is_defined( 'DOING_AJAX' );
       	}
       }
       ```
   
 * I have no clues which may cause the conflict only based on your information.
 * Can you make a test to see if the issue occurs when only WooCommerce and our 
   plugin are active?
 * Best regards
 *  Thread Starter [ahmad21](https://wordpress.org/support/users/ahmad21/)
 * (@ahmad21)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-crashes-website-4/#post-15118604)
 * Hi, I think the problem was initially with JetPack. I have disabled Jetpack and
   purchased the Pro version – works fine no crashes.
 * Thanks for your concern, and I will contact you in the future if any other issues
   arise.
 * – Ahmad
 *  [kimvt1991](https://wordpress.org/support/users/kimvt1991/)
 * (@kimvt1991)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/plugin-crashes-website-4/#post-15119718)
 * Thank you for the information.
    As you purchased the pro, please create your 
   tickets in the [support forum](https://villatheme.com/supports/forum/plugins/woo-multi-currency/)
   for the pro version if you have any issues. Best regards

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

The topic ‘Plugin crashes website’ is closed to new replies.

 * ![](https://ps.w.org/woo-multi-currency/assets/icon-128x128.gif?rev=3089832)
 * [CURCY - Multi Currency for WooCommerce - Smoothly on WooCommerce 9.x](https://wordpress.org/plugins/woo-multi-currency/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-multi-currency/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-multi-currency/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-multi-currency/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-multi-currency/reviews/)

## Tags

 * [ajax](https://wordpress.org/support/topic-tag/ajax/)
 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [Crash](https://wordpress.org/support/topic-tag/crash/)

 * 3 replies
 * 2 participants
 * Last reply from: [kimvt1991](https://wordpress.org/support/users/kimvt1991/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/plugin-crashes-website-4/#post-15119718)
 * Status: resolved