• Resolved tonygao

    (@tonygao)


    The error message in debug.log is as below: (PHP 7.4, wordpress 5.8.3)

    PHP Deprecated: is_ajax is deprecated since version 6.1.0! Use wp_doing_ajax instead.

    • This topic was modified 3 years, 2 months ago by tonygao.
Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same error message, how do I debug?

    Hello there,

    Most likely there is a plugin or theme that is using the is_ajax function. This should continue to work. This is a PHP notice that this function has been deprecated and should be updated.

    You could use the String Locator plugin to search the site for is_ajax. It will still be in WooCommerce a few times so you’ll want to find where it’s used outside of that.

    If you find any, let the developer of the plugin/theme know about it so they can update their code.

    Take care,

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ajax error!’ is closed to new replies.