Support » Plugin: WooCommerce » The is_ajax function is deprecated since version 6.1.0. Replace with wp_doing_aj

  • Resolved steve34070

    (@steve34070)


    Hello, following the update to 6.1.0 I have the error message at the top:
    The is_ajax function is deprecated since version 6.1.0. Replace with wp_doing_aj

    I downgraded version 6.0

    I’m obviously not the only one, do you have a solution?

Viewing 7 replies - 1 through 7 (of 7 total)
  • I have this also from a variety of third party plugins. Why would you make this change without a fallback to handle this cascading error?

    Plugins I have identified to throw the error in addition to the paypal payment gateway plugin mentioned below:

    facebook for woocommerce
    woocommerce checkout addons
    woocommerce cost of goods
    WooCommerce Extra Product Sorting Options
    Woocommerce order status manager
    WooCommerce Product SKU Generator
    WooCommerce Square

    Not exactly insignificant oversights.

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

    WooCommerce PayPal Payments is another plugin not ready for WC 6.1.0

    Mirko P.

    (@rainfallnixfig)

    Hi there 👋

    Thanks for reporting this!

    This forum is for questions and issues that are directly related to the free WooCommerce core plugin.

    If your site is showing a PHP notice “The is_ajax function is deprecated since version 6.1.0. Replace with wp_doing_aj” most likely your theme and/or one or more of your plugins are still using the is_ajax deprecated function and you’re receiving a warning.

    The best way forward is to perform a conflict test to locate the culprit and consequently reach out to the theme/plugin developers via their website/forum to have that fixed.

    I’ll mark this topic as solved for now. Please feel free to open a new topic if you have any other questions.

    i encountered the same error, how do I downgrade the plugin?

    Thread Starter steve34070

    (@steve34070)

    Hello,

    The culprit for me is: sequential woocommerce order numbers
    I had to deactivate it for it to work

    The best way forward is to perform a conflict test to locate the culprit and consequently reach out to the theme/plugin developers via their website/forum to have that fixed.

    WooCommerce developers are the same for WooCommerce PayPal Payments, so we are reaching to them here where the issue was created.

    @thezeronow Try Plugin “WP Rollback” – worked good

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘The is_ajax function is deprecated since version 6.1.0. Replace with wp_doing_aj’ is closed to new replies.