[MediaWiki 1.36] PHP Deprecated: Premature access to service container
PHP Deprecated: Premature access to service container (MediaWiki 1.36)
Logs...
NOTICE: PHP message: PHP Deprecated: Premature access to service container [Called from EmbedVideoHooks::onExtension in /srv/w/extensions/EmbedVideo/EmbedVideo.hooks.php at line 77] in /srv/w/includes/debug/MWDebug.php on line 376
NOTICE: PHP message: PHP Deprecated: Premature access to service 'HookContainer' [Called from MediaWiki\MediaWikiServices::getInstance in /srv/w/includes/MediaWikiServices.php at line 252] in /srv/w/includes/debug/MWDebug.php on line 376
NOTICE: PHP message: PHP Deprecated: Premature access to service 'ObjectFactory' [Called from Wikimedia\Services\ServiceContainer::{closure} in /srv/w/includes/ServiceWiring.php at line 535] in /srv/w/includes/debug/MWDebug.php on line 376
NOTICE: PHP message: PHP Deprecated: Premature access to service 'ConfigFactory' [Called from EmbedVideoHooks::onExtension in /srv/w/extensions/EmbedVideo/EmbedVideo.hooks.php at line 77] in /srv/w/includes/debug/MWDebug.php on line 376
NOTICE: PHP message: PHP Deprecated: Premature access to service 'BootstrapConfig' [Called from Wikimedia\Services\ServiceContainer::{closure} in /srv/w/includes/ServiceWiring.php at line 277] in /srv/w/includes/debug/MWDebug.php on line 376
Also reported on mediawiki.org. https://www.mediawiki.org/w/index.php?title=Topic:Waeqw3a9x1s74h2d&topic_showPostId=waeqw3a9x5q9cl0l#flow-post-waeqw3a9x5q9cl0l
Edited by Jmnote