• Resolved ahmad21

    (@ahmad21)


    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

    (@kimvt1991)

    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

    (@ahmad21)

    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

    Thank you for the information.
    As you purchased the pro, please create your tickets in the support forum 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.