155
◆MwjVXRthXzZy (ガイコーク)
2024/11/03(日) 21:07:18.04 ID:Qlh3LBNKH
>>154
ではエラーのログだけ貼っておきます
LocalSettingsに
wfLoadExtension( 'TemplateStyles' );
を追加してrebuildすると以下の様なエラーが出ます
$ php maintenance/run.php rebuildall.php
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Wikimedia\ScopedCallback::consume(),
0 passed in /var/www/mediawiki/vendor/wikimedia/services/src/ServiceContainer.php on line 461
and exactly 1 expected in /var/www/mediawiki/extensions/TemplateStyles/vendor/wikimedia/scoped-callback/src/ScopedCallback.php:57
Stack trace:
#0 /var/www/mediawiki/vendor/wikimedia/services/src/ServiceContainer.php(461): Wikimedia\ScopedCallback::consume()
中略
#22 /var/www/mediawiki/includes/exception/MWExceptionHandler.php(205): MWExceptionHandler::handleException()
#23 [internal function]: MWExceptionHandler::handleUncaughtException()
#24 {main}
thrown in /var/www/mediawiki/extensions/TemplateStyles/vendor/wikimedia/scoped-callback/src/ScopedCallback.php on line 57
ではエラーのログだけ貼っておきます
LocalSettingsに
wfLoadExtension( 'TemplateStyles' );
を追加してrebuildすると以下の様なエラーが出ます
$ php maintenance/run.php rebuildall.php
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Wikimedia\ScopedCallback::consume(),
0 passed in /var/www/mediawiki/vendor/wikimedia/services/src/ServiceContainer.php on line 461
and exactly 1 expected in /var/www/mediawiki/extensions/TemplateStyles/vendor/wikimedia/scoped-callback/src/ScopedCallback.php:57
Stack trace:
#0 /var/www/mediawiki/vendor/wikimedia/services/src/ServiceContainer.php(461): Wikimedia\ScopedCallback::consume()
中略
#22 /var/www/mediawiki/includes/exception/MWExceptionHandler.php(205): MWExceptionHandler::handleException()
#23 [internal function]: MWExceptionHandler::handleUncaughtException()
#24 {main}
thrown in /var/www/mediawiki/extensions/TemplateStyles/vendor/wikimedia/scoped-callback/src/ScopedCallback.php on line 57