StarCitizenWiki / mediawiki-extensions-EmbedVideo

GDPR focused EmbedVideo. Supports YouTube, Twitch, Spotify and SoundCloud
https://www.mediawiki.org/wiki/Extension:EmbedVideo_(fork)
Other
27 stars 15 forks source link

ArgumentCountError: Too few arguments to function MediaWiki\Extension\EmbedVideo\EmbedVideoHooks::__construct(), 0 passed #76

Closed paladox closed 10 months ago

paladox commented 10 months ago

Describe the bug

Too few arguments to function MediaWiki\Extension\EmbedVideo\EmbedVideoHooks::__construct(), 0 passed in /srv/mediawiki/w/vendor/wikimedia/object-factory/src/ObjectFactory.php on line 240 and exactly 3 expected

from /srv/mediawiki/w/extensions/EmbedVideo/includes/EmbedVideoHooks.php(43)
#0 /srv/mediawiki/w/vendor/wikimedia/object-factory/src/ObjectFactory.php(240): MediaWiki\Extension\EmbedVideo\EmbedVideoHooks->__construct()
#1 /srv/mediawiki/w/vendor/wikimedia/object-factory/src/ObjectFactory.php(149): Wikimedia\ObjectFactory\ObjectFactory::getObjectFromSpec(array, array)
#2 /srv/mediawiki/w/includes/HookContainer/HookContainer.php(505): Wikimedia\ObjectFactory\ObjectFactory->createObject(array)
#3 /srv/mediawiki/w/includes/HookContainer/HookContainer.php(156): MediaWiki\HookContainer\HookContainer->getHandlers(string, array)
#4 /srv/mediawiki/w/includes/HookContainer/HookRunner.php(2912): MediaWiki\HookContainer\HookContainer->run(string, array)
#5 /srv/mediawiki/w/includes/parser/Parser.php(537): MediaWiki\HookContainer\HookRunner->onParserFirstCallInit(Parser)
#6 /srv/mediawiki/w/includes/parser/ParserFactory.php(197): Parser->__construct(MediaWiki\Config\ServiceOptions, MediaWiki\Parser\MagicWordFactory, LanguageEn, ParserFactory, MediaWiki\Utils\UrlUtils, MediaWiki\SpecialPage\SpecialPageFactory, MediaWiki\Linker\LinkRendererFactory, NamespaceInfo, Monolog\Logger, MediaWiki\Page\File\BadFileLookup, MediaWiki\Languages\LanguageConverterFactory, MediaWiki\HookContainer\HookContainer, MediaWiki\Tidy\RemexDriver, WANObjectCache, MediaWiki\User\UserOptionsManager, MediaWiki\User\UserFactory, MediaWikiTitleCodec, MediaWiki\Http\HttpRequestFactory, MediaWiki\Category\TrackingCategories, MediaWiki\Preferences\SignatureValidatorFactory, MediaWiki\User\UserNameUtils)
#7 /srv/mediawiki/w/includes/parser/ParserFactory.php(235): ParserFactory->create()
#8 /srv/mediawiki/w/includes/ServiceWiring.php(1298): ParserFactory->getMainInstance()
#9 /srv/mediawiki/w/vendor/wikimedia/services/src/ServiceContainer.php(445): Wikimedia\Services\ServiceContainer::{closure}(MediaWiki\MediaWikiServices)
#10 /srv/mediawiki/w/vendor/wikimedia/services/src/ServiceContainer.php(411): Wikimedia\Services\ServiceContainer->createService(string)
#11 /srv/mediawiki/w/includes/MediaWikiServices.php(318): Wikimedia\Services\ServiceContainer->getService(string)
#12 /srv/mediawiki/w/includes/MediaWikiServices.php(1504): MediaWiki\MediaWikiServices->getService(string)
#13 /srv/mediawiki/w/includes/language/MessageCache.php(1358): MediaWiki\MediaWikiServices->getParser()
#14 /srv/mediawiki/w/includes/language/MessageCache.php(1337): MessageCache->getParser()
#15 /srv/mediawiki/w/includes/language/Message.php(1455): MessageCache->transform(string, boolean, LanguageEn, MediaWiki\Title\Title)
#16 /srv/mediawiki/w/includes/language/Message.php(1010): Message->transformText(string)
#17 /srv/mediawiki/w/includes/language/Message.php(1054): Message->format(string)
#18 /srv/mediawiki/w/includes/OutputPage.php(1063): Message->text()
#19 /srv/mediawiki/w/includes/OutputPage.php(1110): OutputPage->setHTMLTitle(Message)
#20 /srv/mediawiki/w/includes/page/Article.php(492): OutputPage->setPageTitle(string)
#21 /srv/mediawiki/w/includes/actions/ViewAction.php(78): Article->view()
#22 /srv/mediawiki/w/includes/MediaWiki.php(556): ViewAction->show()
#23 /srv/mediawiki/w/includes/MediaWiki.php(333): MediaWiki->performAction(Article, MediaWiki\Title\Title)
#24 /srv/mediawiki/w/includes/MediaWiki.php(923): MediaWiki->performRequest()
#25 /srv/mediawiki/w/includes/MediaWiki.php(576): MediaWiki->main()
#26 /srv/mediawiki/w/index.php(50): MediaWiki->run()
#27 /srv/mediawiki/w/index.php(46): wfIndexMain()
#28 {main}

Expected behavior A clear and concise description of what you expected to happen.

No exception to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Technical information:

Additional context We run PHP 8.2.