1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug Error with cron jobs-Cannot modify header information - headers already sent

Discussion in 'Resolved Bug Reports' started by lms, Apr 23, 2014.

  1. lms

    lms Well-Known Member

    One add-on mine, XenFacil Moderate threads - Move/Delete Threads, gives an error with different requests. The error are here, here, and here.

    The error is basically, "Cannot modify header information - headers already sent" when executed deferred.php in cron jobs! My add-on not run deferred.php, it is a cron job, and this not runs any header outside Xenforo.

    Any solution?

  2. Mike

    Mike XenForo Developer Staff Member

    Deferred.php runs cron scripts amongst other things.

    Your script has output at the top of it that needs to be removed.

Share This Page