Page MenuHomePhabricator

ErrorException from line 796 of /srv/mediawiki/w/includes/session/SessionBackend.php: PHP Warning: session_id(): Cannot change session id when headers already sent
Open, Needs TriagePublic

Description

I'm seeing:

[145ac4195ff2c6aeaf40ad27] [no req]   ErrorException from line 796 of /srv/mediawiki/w/includes/session/SessionBackend.php: PHP Warning: session_id(): Cannot change session id when headers already sent
#0 [internal function]: MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/mediawiki/w/includes/session/SessionBackend.php(796): session_id(string)
#2 /srv/mediawiki/w/includes/session/SessionBackend.php(720): MediaWiki\Session\SessionBackend->checkPHPSession()
#3 /srv/mediawiki/w/includes/session/SessionBackend.php(637): MediaWiki\Session\SessionBackend->save()
#4 /srv/mediawiki/w/includes/session/SessionBackend.php(532): MediaWiki\Session\SessionBackend->autosave()
#5 /srv/mediawiki/w/extensions/CentralAuth/includes/session/CentralAuthSessionProvider.php(326): MediaWiki\Session\SessionBackend->setProviderMetadata(array)
#6 /srv/mediawiki/w/includes/session/SessionBackend.php(717): CentralAuthSessionProvider->persistSession(MediaWiki\Session\SessionBackend, FauxRequest)
#7 /srv/mediawiki/w/includes/session/SessionBackend.php(626): MediaWiki\Session\SessionBackend->save()
#8 [internal function]: MediaWiki\Session\SessionBackend->MediaWiki\Session\{closure}()
#9 /srv/mediawiki/w/vendor/wikimedia/scoped-callback/src/ScopedCallback.php(96): call_user_func_array(Closure, array)
#10 /srv/mediawiki/w/vendor/wikimedia/scoped-callback/src/ScopedCallback.php(56): Wikimedia\ScopedCallback->__destruct()
#11 /srv/mediawiki/w/includes/user/User.php(3383): Wikimedia\ScopedCallback::consume(NULL)
#12 /srv/mediawiki/w/extensions/Flow/includes/Conversion/Utils.php(582): User->setCookies(NULL, NULL, boolean)
#13 /srv/mediawiki/w/extensions/Flow/includes/Conversion/Utils.php(342): Flow\Conversion\Utils::generateForwardedCookieForCli()
#14 /srv/mediawiki/w/extensions/Flow/includes/Conversion/Utils.php(277): Flow\Conversion\Utils::makeVRSObject()
#15 /srv/mediawiki/w/extensions/Flow/includes/Conversion/Utils.php(245): Flow\Conversion\Utils::getVRSObject()
#16 /srv/mediawiki/w/extensions/Flow/includes/Hooks.php(200): Flow\Conversion\Utils::isParsoidConfigured()
#17 /srv/mediawiki/w/includes/Setup.php(807): Flow\Hooks::initFlowExtension()
#18 /srv/mediawiki/w/maintenance/doMaintenance.php(91): require_once(string)
#19 /srv/mediawiki/w/maintenance/runJobs.php(129): require_once(string)
#20 {main}

in the logs when running the jobrunner.

Running mediawiki 1.35 and php 7.3