[wp-trac] [WordPress Trac] #57475: wp_schedule_event function causes "Headers already sent" error

WordPress Trac noreply at wordpress.org
Tue Jan 17 02:55:26 UTC 2023


#57475: wp_schedule_event function causes "Headers already sent" error
------------------------------+-------------------------
 Reporter:  onetarek          |       Owner:  (none)
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Cron API          |     Version:  6.1.1
 Severity:  normal            |  Resolution:  worksforme
 Keywords:  has-testing-info  |     Focuses:
------------------------------+-------------------------
Changes (by peterwilsoncc):

 * resolution:  invalid => worksforme
 * milestone:  Awaiting Review =>


Comment:

 Thanks for following up, I appreciate the confirmation I wasn't missing an
 edge case.

 I'll close this issue off as worksforme as it's expected behavior for wp-
 cron to send headers early.

 You might need to change a few other things to do with sessions in your
 plugin but the best place to get assistance for such things is in the
 [https://wordpress.org/support/forum/wp-advanced/ Developing with
 WordPress forum], the folks who hang around there are much better placed
 to assist.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57475#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list