Page MenuHomePhabricator

ProtectSite [MediaWiki 1.35]: InvalidArgumentException. includes/objectcache/SqlBagOStuff.php: Config requires 'server', 'servers', or 'localKeyLB'/'globalKeyLB'
Closed, ResolvedPublic

Description

Extension:ProtectSite is not compatible with MediaWiki 1.35

When I upgraded the wiki from 1.34 to 1.35, viewing any page I get this error:

 /wiki/Main_page   InvalidArgumentException from line 155 of .../mediawiki-1.35.0/includes/objectcache/SqlBagOStuff.php: Config requires 'server', 'servers', or 'localKeyLB'/'globalKeyLB'
#0 .../extensions/ProtectSite/includes/ProtectSite.php(75): SqlBagOStuff->__construct(array)
#1 .../includes/Setup.php(807): ProtectSite::setup()
#2 .../includes/WebStart.php(89): require_once(string)
#3 .../index.php(44): require(string)
#4 {main}

Looks like the constructor of SqlBagOStuff needs some additional configuration parameters now that weren't necessary on 1.34