Error
- mwversion: 1.44.0-wmf.19
- reqId: d06a4178-9024-41ab-96a6-d6a43171cf09
- Find reqId in Logstash
[{reqId}] {exception_url} BadMethodCallException: Sessions are disabled for load entry point[{reqId}] {exception_url} BadMethodCallException: Sessions are disabled for load entry pointIndeed. It is unsafe to unconditionally depend on global state from a Message, Status, or RequestContext object outside e.g. UI code inside a SpecialPage subclass.
The relevant call chain starts at MediaWiki\Extension\EventLogging\Hooks::getModuleData (for the ext.eventLogging/data.json file), and eventually reaches into MetricsPlatform where it formats a Message in a way that assumes an index.php UI request with a user session and language preference.
Change #1127008 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):
[mediawiki/extensions/MetricsPlatform@master] InstrumentConfigsFetcher: Fix use of StatusFormatter for debug logging
Change #1127008 merged by jenkins-bot:
[mediawiki/extensions/MetricsPlatform@master] InstrumentConfigsFetcher: Fix use of StatusFormatter for debug logging