Topic on Project:Support desk

Jump to navigation Jump to search

LatestSkinVersionRequirement missing since update to 1.37.0

6
Ycinformatik (talkcontribs)

Hi

We updated our Mediawiki from 1.36.x to 1.37.0 but now we have the following error:

Original exception: [YZdcJa7JexYY9qajUDKq2wAAAAk] /index.php?title=Hauptseite Error: Class 'Vector\FeatureManagement\Requirements\LatestSkinVersionRequirement' not found


How we can fix this?


Thanks very much.


Best regards

Mike

Malyacko (talkcontribs)
Ycinformatik (talkcontribs)

This is the trace, when I activate debugging:


Original exception: [YZeDxUS0lqKYW3f0LRik4AAAAAU] /index.php?title=Hauptseite Error: Class 'Vector\FeatureManagement\Requirements\LatestSkinVersionRequirement' not found

Backtrace:

from /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/skins/Vector/includes/ServiceWiring.php(54)

#0 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/vendor/wikimedia/services/src/ServiceContainer.php(447): Wikimedia\Services\ServiceContainer::{closure}(MediaWiki\MediaWikiServices)

#1 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/vendor/wikimedia/services/src/ServiceContainer.php(416): Wikimedia\Services\ServiceContainer->createService(string)

#2 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/MediaWikiServices.php(279): Wikimedia\Services\ServiceContainer->getService(string)

#3 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/skins/Vector/includes/SkinVector.php(72): MediaWiki\MediaWikiServices->getService(string)

#4 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/skins/Vector/includes/SkinVector.php(90): SkinVector->isLegacy()

#5 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/vendor/wikimedia/object-factory/src/ObjectFactory/ObjectFactory.php(244): SkinVector->__construct(array)

#6 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/vendor/wikimedia/object-factory/src/ObjectFactory/ObjectFactory.php(150): Wikimedia\ObjectFactory\ObjectFactory::getObjectFromSpec(array, array)

#7 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/skins/SkinFactory.php(125): Wikimedia\ObjectFactory\ObjectFactory->createObject(array, array)

#8 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/context/RequestContext.php(456): SkinFactory->makeSkin(string)

#9 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/context/ContextSource.php(163): RequestContext->getSkin()

#10 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/OutputPage.php(2632): ContextSource->getSkin()

#11 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/MediaWiki.php(939): OutputPage->output(boolean)

#12 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/MediaWiki.php(952): MediaWiki::{closure}()

#13 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/MediaWiki.php(559): MediaWiki->main()

#14 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/index.php(53): MediaWiki->run()

#15 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/index.php(46): wfIndexMain()

#16 {main}

Exception caught inside exception handler: [YZeDxUS0lqKYW3f0LRik4AAAAAU] /index.php?title=Hauptseite Error: Class 'Vector\FeatureManagement\Requirements\LatestSkinVersionRequirement' not found

Backtrace:

from /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/skins/Vector/includes/ServiceWiring.php(54)

#0 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/vendor/wikimedia/services/src/ServiceContainer.php(447): Wikimedia\Services\ServiceContainer::{closure}(MediaWiki\MediaWikiServices)

#1 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/vendor/wikimedia/services/src/ServiceContainer.php(416): Wikimedia\Services\ServiceContainer->createService(string)

#2 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/MediaWikiServices.php(279): Wikimedia\Services\ServiceContainer->getService(string)

#3 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/skins/Vector/includes/SkinVector.php(72): MediaWiki\MediaWikiServices->getService(string)

#4 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/skins/Vector/includes/SkinVector.php(90): SkinVector->isLegacy()

#5 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/vendor/wikimedia/object-factory/src/ObjectFactory/ObjectFactory.php(244): SkinVector->__construct(array)

#6 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/vendor/wikimedia/object-factory/src/ObjectFactory/ObjectFactory.php(150): Wikimedia\ObjectFactory\ObjectFactory::getObjectFromSpec(array, array)

#7 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/skins/SkinFactory.php(125): Wikimedia\ObjectFactory\ObjectFactory->createObject(array, array)

#8 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/context/RequestContext.php(456): SkinFactory->makeSkin(string)

#9 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/context/ContextSource.php(163): RequestContext->getSkin()

#10 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/OutputPage.php(2632): ContextSource->getSkin()

#11 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/exception/MWExceptionRenderer.php(158): OutputPage->output()

#12 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/exception/MWExceptionRenderer.php(77): MWExceptionRenderer::reportHTML(Error)

#13 /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/exception/MWExceptionHandler.php(107): MW


When I activate PHP error reporting, I have this information additionally, but this is only a notice, so no problem:

Notice: Undefined offset: 1 in /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/objectcache/SqlBagOStuff.php on line 1090 Notice: Undefined offset: 1 in /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/objectcache/SqlBagOStuff.php on line 1090 Notice: Undefined offset: 1 in /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/objectcache/SqlBagOStuff.php on line 1090 Notice: Undefined offset: 1 in /var/www/vhosts/yourchoice.ch/wiki.yourchoice.ch/includes/objectcache/SqlBagOStuff.php on line 1090 MediaWiki internal error.

Bawolff (talkcontribs)

Is the version of vector the right ine for your version of mddiawiki? You need to upgrade skins when you upgrade rest of mediawiki.

Bawolff (talkcontribs)

If skin is up to date, it might indicate that composer requirements are not up to date or incorrect

Ycinformatik (talkcontribs)

I use the skin Vector which is included in MediaWiki since version 1.17.

Anyway, I downloaded it separately and replaced the files, now it works. No idea what was the problem before.

Thanks very much.

Best regards

Mike