XF 2.0 Cannot modify header information and other server errors

KSA

Well-known member
Just upgraded from 1.5 to 2.0 and we are getting tons of server errors
  • ErrorException: [E_WARNING] Cannot modify header information - headers already sent
  • job.php:33
  • Generated by: Unknown account
  • Mar 13, 2018 at 1:49 AM
Stack trace
#0 [internal function]: XF::handlePhpError(2, 'Cannot modify h...', '/home/defense/p...', 33, Array)
#1 job.php(33): header('Content-Type: a...')
#2 {main}
Request state
array(4) {
["url"] => string(11) "/vb/job.php"
["referrer"] => string(48) "http://example/threads/121231/page-4"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}


  • ErrorException: Email to xxxxx@xxx.com failed: [E_WARNING] proc_open() has been disabled for security reasons
  • src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:295
  • Generated by: Unknown account
  • Mar 13, 2018 at 1:49 AM
Stack trace
#0 [internal function]: XF::handlePhpError(2, 'proc_open() has...', '/home/defense/p...', 295, Array)
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(295): proc_open('/usr/sbin/sendm...', Array, Array)
#2 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(58): Swift_Transport_StreamBuffer->_establishProcessConnection()
#3 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php(119): Swift_Transport_StreamBuffer->initialize(Array)
#4 src/XF/Mail/Mailer.php(289): Swift_Transport_SendmailTransport->send(Object(Swift_Message), Array)
#5 src/XF/Mail/Queue.php(65): XF\Mail\Mailer->send(Object(Swift_Message))
#6 src/XF/Job/MailQueue.php(11): XF\Mail\Queue->run(7.99999809265)
#7 src/XF/Job/Manager.php(241): XF\Job\MailQueue->run(7.99999809265)
#8 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.99999809265)
#9 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.99999809265)
#10 job.php(15): XF\Job\Manager->runQueue(false, 8)
#11 {main}
 
For the second error, contact your sysadmin or host and ask them to enable the proc_open function.

If they are unable to, you will have to switch to using SMTP for email delivery.
 
The headers already sent error could be a corrupt file - run the file health check to confirm.

Th proc_open error is self explanatory (and has been posted about numerous times).
Enable the function or use SMTP.
 
The headers already sent error could be a corrupt file - run the file health check to confirm.

Th proc_open error is self explanatory (and has been posted about numerous times).
Enable the function or use SMTP.

file checked and all good but still the error is there and keeps coming.
 
Back
Top Bottom