Title: PHP message: The is_ajax function is deprecated
Last modified: January 19, 2022

---

# PHP message: The is_ajax function is deprecated

 *  Resolved [rolandmountain](https://wordpress.org/support/users/rolandmountain/)
 * (@rolandmountain)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-message-the-is_ajax-function-is-deprecated/)
 * Hi,
 * since the newest WP/woocommerce update we’ve got the following error in our log:
 * PHP message: The is_ajax function is deprecated since version 6.1.0. Replace 
   with wp_doing_ajax
 * It causes a redirect to the WordPress page where you will get an error that you
   are not allowed to edit the page.
 * Thx for you help!

Viewing 1 replies (of 1 total)

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-message-the-is_ajax-function-is-deprecated/#post-15269433)
 * The plugin doesn’t use that function.

Viewing 1 replies (of 1 total)

The topic ‘PHP message: The is_ajax function is deprecated’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [John Godley](https://wordpress.org/support/users/johnny5/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/php-message-the-is_ajax-function-is-deprecated/#post-15269433)
 * Status: resolved