SemanticMediaWiki / semantic-mediawiki.org

This is a meta repository allowing to keep track of issues and wishes concerning semantic-mediawiki.org and related websites.
3 stars 3 forks source link

Class 'MediaWiki\Extensions\Lockdown\UserGroupMembership' not found #76

Closed mwjames closed 4 years ago

mwjames commented 4 years ago

Just encountered an error during &action=purge.

[0cdb9a4b5e128d2b419bc5a3] /w/index.php?title=smw/schema:Group:User-defined_properties&action=purge Error from line 48 of /var/www/html/sbxsmw/w/extensions/Lockdown/src/Hooks.php: Class 'MediaWiki\Extensions\Lockdown\UserGroupMembership' not found

Backtrace:

#0 /var/www/html/sbxsmw/w/extensions/Lockdown/src/Hooks.php(180): MediaWiki\Extensions\Lockdown\Hooks::getGroupLinks(array)
#1 /var/www/html/sbxsmw/w/includes/Hooks.php(174): MediaWiki\Extensions\Lockdown\Hooks::onMediawikiPerformAction(OutputPage, Article, Title, User, WebRequest, MediaWiki)
#2 /var/www/html/sbxsmw/w/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL)
#3 /var/www/html/sbxsmw/w/includes/MediaWiki.php(483): Hooks::run(string, array)
#4 /var/www/html/sbxsmw/w/includes/MediaWiki.php(302): MediaWiki->performAction(Article, Title)
#5 /var/www/html/sbxsmw/w/includes/MediaWiki.php(900): MediaWiki->performRequest()
#6 /var/www/html/sbxsmw/w/includes/MediaWiki.php(527): MediaWiki->main()
#7 /var/www/html/sbxsmw/w/index.php(44): MediaWiki->run()
#8 {main}
kghbln commented 4 years ago

@mwjames Thanks for reporting. Luckily already fixed upstream in November 2019 with 0aac342. Thus it was a matter of just updating the code on the server for the branch. En passant I was able to fix a tiny additional issue myself at the same time.