PHP warnings generated when WP cron runs
-
Hey guys,
Using PHP 8.1, WordPress 6.7.1 and version 1.7.0 of the Deliverability plugin, we notice a series of PHP warnings when WordPress cron runs:
PHP Warning: Cannot modify header information - headers already sent in /public_html/app/plugins/deliverability/vendor-prefixed/psr-4/Auth0/SDK/Store/CookieStore.php on line 247We’ve also noticed that this only occurs when
fastcgi_finish_request();is called on line 28 of WordPress’wp-cron.php.Could you by any chance wrap line 247 in
vendor-prefixed/psr-4/Auth0/SDK/Store/CookieStore.phpwith a! headers_sent()conditional please? I assume you could also use! defined( 'DOING_CRON' )for it, but I see it’s a vendor folder, you might want to opt for the first suggestion.Thanks a lot.
// T
The topic ‘PHP warnings generated when WP cron runs’ is closed to new replies.