Fatal error: Uncaught Error: Call to undefined function wp_is_serving_rest_reque
-
Hello!
After updating to 5.3.4:
Fatal error: Uncaught Error: Call to undefined function wp_is_serving_rest_request() in /var/www/…./wp-content/plugins/wp-cloudflare-page-cache/vendor/woocommerce/action-scheduler/classes/ActionScheduler_RecurringActionScheduler.php:29 Stack trace: #0 /var/www/…../wp-includes/class-wp-hook.php(306): ActionScheduler_RecurringActionScheduler->init() #1 /var/www/…./wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #2 /var/www/…../wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /var/www/…../wp-settings.php(623): do_action(‘init’) #4 /var/www/…../wp-config.php(95): require_once(‘/var/www/…..’) #5 /var/www/…../wp-load.php(50): require_once(‘/var/www/……’) #6 /var/www/…../wp-admin/admin.php(34): require_once(‘/var/www/……’) #7 /var/www/……/wp-admin/index.php(10): require_once(‘/var/www/……’) #8 {main} in /var/www/……/wp-content/plugins/wp-cloudflare-page-cache/vendor/woocommerce/action-scheduler/classes/ActionScheduler_RecurringActionScheduler.php on line 29The Call to undefined function wp_is_serving_rest_request() error occurs because a plugin is trying to use a native WordPress function that does not exist in my current WordPress version. (6.2.11)
So, I think it would be better to limit updates on websites below version 6.5.0 or remove this function from 5.3.4…
You must be logged in to reply to this topic.