Jump to content
  • 0

MediaWiki 1.39.0-rc.0: Fatal exception of type "TypeError"


Woodman

Question

Hello every body,

I just upgraded Mediaiki to version 1.39 on the website https://www.vbu-ffm.de/UntermainWiki/index.php/Hauptseite.

After installation via https://www.vbu-ffm.de/UntermainWiki/mw-config/index.php I got the error message:

[415f8c982325b1e0fde16358] 2023-04-26 15:42:13: Fataler Ausnahmefehler des Typs „TypeError“
=> Fatal exception of type "TypeError"

When I set $wgShowExceptionDetails in LocalSettings.php to 'true' then I get the following message:

Quote

[e539e46096fad38a067e9df0] /UntermainWiki/ TypeError: MediaWiki\Session\BotPasswordSessionProvider::__construct(): Argument #1 ($grantsInfo) must be of type MediaWiki\Permissions\GrantsInfo, array given, called in /.../UntermainWiki/vendor/wikimedia/object-factory/src/ObjectFactory.php on line 247

Backtrace:

from /.../UntermainWiki/includes/session/BotPasswordSessionProvider.php(47)
#0 /.../UntermainWiki/vendor/wikimedia/object-factory/src/ObjectFactory.php(247): MediaWiki\Session\BotPasswordSessionProvider->__construct(array)
#1 /.../UntermainWiki/vendor/wikimedia/object-factory/src/ObjectFactory.php(152): Wikimedia\ObjectFactory\ObjectFactory::getObjectFromSpec(array, array)
#2 /.../UntermainWiki/includes/session/SessionManager.php(477): Wikimedia\ObjectFactory\ObjectFactory->createObject(array)
#3 /.../UntermainWiki/includes/session/SessionManager.php(536): MediaWiki\Session\SessionManager->getProviders()
#4 /.../UntermainWiki/includes/session/SessionManager.php(243): MediaWiki\Session\SessionManager->getSessionInfoForRequest(WebRequest)
#5 /.../UntermainWiki/includes/WebRequest.php(843): MediaWiki\Session\SessionManager->getSessionForRequest(WebRequest)
#6 /.../UntermainWiki/includes/session/SessionManager.php(164): WebRequest->getSession()
#7 /.../UntermainWiki/includes/Setup.php(448): MediaWiki\Session\SessionManager::getGlobalSession()
#8 /.../UntermainWiki/includes/WebStart.php(86): require_once(string)
#9 /.../UntermainWiki/index.php(44): require(string)
#10 {main}

I'm not that proficient with PHP.
Does anyone have an idea how I can still get MediaWiki to work?

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.