Deprecated: is_ajax is deprecated since version 6.1.0! Use wp_doing_ajax instead
-
I’ve been using this plugin for several years now so it wasn’t suspected until I deactivated all plugins apart from WooCommerce and saw the error return while reactivating woocommerce-gateway-paypal-powered-by-braintree 2.6.2
On a recent thread here I noticed PHP 8.0 mentioned which has also been active for a couple of years so I tried downgrading to PHP 7.4.25 without changing the error message:
`php -v
PHP 7.4.25 (cli) (built: Nov 17 2021 03:37:37) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.25, Copyright (c), by Zend Technologies
[ps503766]$ wp plugin list
PHP Deprecated: is_ajax is deprecated since version 6.1.0! Use wp_doing_ajax instead. in /wp-includes/functions.php on line 5211
Deprecated: is_ajax is deprecated since version 6.1.0! Use wp_doing_ajax instead. in /wp-includes/functions.php on line 5211
+————————————————–+———-+——–+———+
| name | status | update | version |
+————————————————–+———-+——–+———+
| akismet | inactive | none | 4.2.1
| woocommerce-gateway-paypal-powered-by-braintree | active | none | 2.6.2
| woocommerce | active | none | 6.1.0 |
- The topic ‘Deprecated: is_ajax is deprecated since version 6.1.0! Use wp_doing_ajax instead’ is closed to new replies.