I am Facing this errror on my wordpress website
error Deprecated: is_ajax is deprecated since version 6.1.0! Use wp_doing_ajax instead. in /home/u523973308/domains/celebd.in/public_html/wp-includes/functions.php on line 5211
Please help me with to fix this problem.
CodePudding user response:
I got the same error and I fixed it by adding these lines in 'wp-config.php' file.
Insert BEFORE this line That's all, stop editing! Happy blogging.
// Enable WP_DEBUG mode
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', false);
error_reporting(0);
@ini_set('display_errors', 0);
CodePudding user response:
GOTO the wp-config.php if your
define( 'WP_DEBUG', true );
Change it
define( 'WP_DEBUG', false );