Page MenuHomePhabricator
Paste P7813

Exceptions caused by using $wgLBFactoryConf
ActivePublic

Authored by Huji on Nov 15 2018, 4:35 PM.
Tags
None
Referenced Files
F27231581: Exceptions caused by using $wgLBFactoryConf
Nov 15 2018, 4:58 PM
F27231101: Exceptions caused by using $wgLBFactoryConf
Nov 15 2018, 4:35 PM
Subscribers
None
Notice: Undefined index: DEFAULT in /var/www/html/includes/libs/rdbms/lbfactory/LBFactoryMulti.php on line 240
Warning: Invalid argument supplied for foreach() in /var/www/html/includes/libs/rdbms/lbfactory/LBFactoryMulti.php on line 348
MediaWiki internal error.
[7fcbc199c25fddf4fb3a3311] /index.php?title=Special:UserLogin&returnto=Main+Page InvalidArgumentException from line 412 of /var/www/html/includes/libs/rdbms/loadbalancer/LoadBalancer.php: Empty server array given to LoadBalancer
Backtrace:
#0 /var/www/html/includes/libs/rdbms/loadbalancer/LoadBalancer.php(374): Wikimedia\Rdbms\LoadBalancer->pickReaderIndex(array, string)
#1 /var/www/html/includes/libs/rdbms/loadbalancer/LoadBalancer.php(739): Wikimedia\Rdbms\LoadBalancer->getReaderIndex(boolean, string)
#2 /var/www/html/includes/libs/rdbms/loadbalancer/LoadBalancer.php(835): Wikimedia\Rdbms\LoadBalancer->getConnection(integer, array, string, integer)
#3 /var/www/html/extensions/CentralAuth/includes/CentralAuthUtils.php(70): Wikimedia\Rdbms\LoadBalancer->getConnectionRef(integer, string, string)
#4 /var/www/html/extensions/CentralAuth/includes/CentralAuthUser.php(504): CentralAuthUtils::getCentralSlaveDB()
#5 /var/www/html/includes/libs/objectcache/WANObjectCache.php(1128): CentralAuthUser->{closure}(boolean, integer, array, NULL)
#6 /var/www/html/includes/libs/objectcache/WANObjectCache.php(1277): WANObjectCache->{closure}(boolean, integer, array, NULL)
#7 /var/www/html/includes/libs/objectcache/WANObjectCache.php(1133): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array, NULL)
#8 /var/www/html/extensions/CentralAuth/includes/CentralAuthUser.php(518): WANObjectCache->getWithSetCallback(string, integer, Closure, array)
#9 /var/www/html/extensions/CentralAuth/includes/CentralAuthUser.php(374): CentralAuthUser->loadFromCache()
#10 /var/www/html/extensions/CentralAuth/includes/CentralAuthUser.php(549): CentralAuthUser->loadState()
#11 /var/www/html/extensions/CentralAuth/includes/CentralAuthUser.php(646): CentralAuthUser->getId()
#12 /var/www/html/extensions/CentralAuth/includes/CentralAuthHooks.php(1445): CentralAuthUser->exists()
#13 /var/www/html/includes/Hooks.php(174): CentralAuthHooks::onPasswordPoliciesForUser(User, array)
#14 /var/www/html/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL)
#15 /var/www/html/includes/password/UserPasswordPolicy.php(145): Hooks::run(string, array)
#16 /var/www/html/includes/password/UserPasswordPolicy.php(74): UserPasswordPolicy->getPoliciesForUser(User)
#17 /var/www/html/includes/user/User.php(1215): UserPasswordPolicy->checkUserPassword(User, string)
#18 /var/www/html/includes/auth/AbstractPasswordPrimaryAuthenticationProvider.php(106): User->checkPasswordValidity(string)
#19 /var/www/html/includes/auth/TemporaryPasswordPrimaryAuthenticationProvider.php(142): MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProvider->checkPasswordValidity(string, string)
#20 /var/www/html/includes/auth/AuthManager.php(453): MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider->beginPrimaryAuthentication(array)
#21 /var/www/html/includes/auth/AuthManager.php(383): MediaWiki\Auth\AuthManager->continueAuthentication(array)
#22 /var/www/html/includes/specialpage/AuthManagerSpecialPage.php(353): MediaWiki\Auth\AuthManager->beginAuthentication(array, string)
#23 /var/www/html/includes/specialpage/AuthManagerSpecialPage.php(482): AuthManagerSpecialPage->performAuthenticationStep(string, array)
#24 /var/www/html/includes/htmlform/HTMLForm.php(663): AuthManagerSpecialPage->handleFormSubmit(array, VFormHTMLForm)
#25 /var/www/html/includes/specialpage/AuthManagerSpecialPage.php(416): HTMLForm->trySubmit()
#26 /var/www/html/includes/specialpage/LoginSignupSpecialPage.php(317): AuthManagerSpecialPage->trySubmit()
#27 /var/www/html/includes/specialpage/SpecialPage.php(569): LoginSignupSpecialPage->execute(NULL)
#28 /var/www/html/includes/specialpage/SpecialPageFactory.php(558): SpecialPage->run(NULL)
#29 /var/www/html/includes/MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#30 /var/www/html/includes/MediaWiki.php(861): MediaWiki->performRequest()
#31 /var/www/html/includes/MediaWiki.php(517): MediaWiki->main()
#32 /var/www/html/index.php(42): MediaWiki->run()
#33 {main}