• Resolved leospirit

    (@leonardchan203)


    My site is having the same issue after updated the latest WooCommerce.
    deprecated: is_ajax is deprecated since version 6.1.0! use wp_doing_ajax instead.

    The website is running fine, but the error message popping up on top of the webpage. Had to edit wp-config.php using code below to hide the error message

    ini_set(‘display_errors’,’Off’);

    ini_set(‘error_reporting’, E_ALL );

    define(‘WP_DEBUG’, false);

    define(‘WP_DEBUG_DISPLAY’, false);

    Kindly assist to fix this issue.

    Thanks!

    • This topic was modified 2 years, 10 months ago by leospirit.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • I had the same issue on updating. The update however did not fail.
    But php logs keep on showing this.

    • This reply was modified 2 years, 10 months ago by darkallman.

    I am also having this issue since updating. The error: “Deprecated: is_ajax is deprecated since version 6.1.0” keeps appearing above the header.

    I rolled back to version 6.0 and its fine. Anyone have a fix for this so I can update the app?

    Same issue for my website. I rolled back to 6.0 version.

    After careful investigation I still see a lot of plugins that use is_ajax() function.
    Woocommerce replaced this function with wp_doing_ajax.
    So either many plugins just ignored this, or they did not have enough time to replace and update their functions.

    But even Facebook for Woocommerce (Skyverge) still has this function in use.
    Also woocommerce-google-analytics-pro

    Was this change badly communicated!?!?!

    None of the major plugins have made the changes – even the wordpress owned plugins (e.g. Stripe, jetpack, etc).

    I have the same issue. I’m going to try to rollback using the Rollback plugin. Wish me luck!

    All of you:
    You need to open tickets with each plugin that is causing the notices.

    Mirko P.

    (@rainfallnixfig)

    Hi there ??

    Thanks for reporting this.

    Most likely this is caused by a third-party plugin still using the is_ajax deprecated function. You can read more about what’s new with the latest WooCommerce release 6.1:

    https://developer.woocommerce.com/2022/01/11/woocommerce-6-1-released/

    To confirm, we recommend performing conflict testing following the support documentation page and reaching out to the plugin authors to have that fixed.

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    I’m going to close this thread now. If you have further questions, please feel free to open a new topic.

    Cheers.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Deprecated: is_ajax is deprecated since version 6.1.0! Use wp_doing_ajax instea’ is closed to new replies.