PHP Warning in wp-cron.
-
In #46417, it was noted this plugin is throwing a warning in wp-cron.php due to an attempt to send headers after
fastcgi_finish_request().This occurs on environments running fastcgi on PHP 7.0.16 or later following [44488].
To fix this, are you able to add a
headers_sent()check before sending any headers?<?php if ( ! headers_sent() ) { header( 'X-Ticket: 46417' ); // or redirects, starting sessions, setting cookies, etc. }Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘PHP Warning in wp-cron.’ is closed to new replies.