I'm getting the following error when trying to go to /Special:UserLogin with mediaWiki 1.27.
Exception encountered, of type "Error" [60d3e595] /Special:UserLogin Error from line 360 of /var/www/wiki/ConfirmEdit/SimpleCaptcha/Captcha.php: Call to undefined method ObjectCache::getLocalClusterInstance() Backtrace: #0 /var/www/wiki/extensions/ConfirmEdit/SimpleCaptcha/Captcha.php(248): SimpleCaptcha->isBadLoginPerUserTriggered(string) #1 /var/www/wiki/extensions/ConfirmEdit/includes/ConfirmEditHooks.php(115): SimpleCaptcha->injectUserLogin(UserloginTemplate) #2 /var/www/wiki/includes/Hooks.php(201): ConfirmEditHooks::injectUserLogin(UserloginTemplate) #3 /var/www/wiki/includes/specials/SpecialUserlogin.php(1510): Hooks::run(string, array) #4 /var/www/wiki/includes/specials/SpecialUserlogin.php(346): LoginForm->mainLoginForm(string, string) #5 /var/www/wiki/includes/specialpage/SpecialPage.php(384): LoginForm->execute(NULL) #6 /var/www/wiki/includes/specialpage/SpecialPageFactory.php(553): SpecialPage->run(NULL) #7 /var/www/wiki/includes/MediaWiki.php(281): SpecialPageFactory::executePath(Title, RequestContext) #8 /var/www/wiki/includes/MediaWiki.php(714): MediaWiki->performRequest() #9 /var/www/wiki/includes/MediaWiki.php(508): MediaWiki->main() #10 /var/www/wiki/index.php(41): MediaWiki->run() #11 {main}
Other pages, including the ones which display ReCaptcha, work fine.
/Special:UserLogin used to work on this site, and started to malfunction a couple of days ago.
ReCaptcha is enabled with:
wfLoadExtensions( array( 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ) ); $wgCaptchaClass = 'ReCaptchaNoCaptcha'; $wgReCaptchaSiteKey = 'SiteKey.............'; $wgReCaptchaSecretKey = 'SecretKey...........';
Not sure how to deal with it - does anyone have any idea? A different MediaWiki install on the same server works fine for /Special:UserLogin.
Tomasz Chmielewski https://lxadm.com
Hi,
are you sure you have updated MediaWiki 1.27 correctly? ObjectCache:: getLocalClusterInstance() should be available in MediaWiki 1.27. Please check, if all files were updated correctly :)
Best, Florian
-----Ursprüngliche Nachricht----- Von: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] Im Auftrag von Tomasz Chmielewski Gesendet: Donnerstag, 11. August 2016 19:35 An: mediawiki-l@lists.wikimedia.org Betreff: [MediaWiki-l] ConfirmEdit/ReCaptchaNoCaptcha: Call to undefined method ObjectCache::getLocalClusterInstance()
I'm getting the following error when trying to go to /Special:UserLogin with mediaWiki 1.27.
Exception encountered, of type "Error" [60d3e595] /Special:UserLogin Error from line 360 of /var/www/wiki/ConfirmEdit/SimpleCaptcha/Captcha.php: Call to undefined method ObjectCache::getLocalClusterInstance() Backtrace: #0 /var/www/wiki/extensions/ConfirmEdit/SimpleCaptcha/Captcha.php(248): SimpleCaptcha->isBadLoginPerUserTriggered(string) #1 /var/www/wiki/extensions/ConfirmEdit/includes/ConfirmEditHooks.php(115): SimpleCaptcha->injectUserLogin(UserloginTemplate) #2 /var/www/wiki/includes/Hooks.php(201): ConfirmEditHooks::injectUserLogin(UserloginTemplate) #3 /var/www/wiki/includes/specials/SpecialUserlogin.php(1510): Hooks::run(string, array) #4 /var/www/wiki/includes/specials/SpecialUserlogin.php(346): LoginForm->mainLoginForm(string, string) #5 /var/www/wiki/includes/specialpage/SpecialPage.php(384): LoginForm->execute(NULL) #6 /var/www/wiki/includes/specialpage/SpecialPageFactory.php(553): SpecialPage->run(NULL) #7 /var/www/wiki/includes/MediaWiki.php(281): SpecialPageFactory::executePath(Title, RequestContext) #8 /var/www/wiki/includes/MediaWiki.php(714): MediaWiki->performRequest() #9 /var/www/wiki/includes/MediaWiki.php(508): MediaWiki->main() #10 /var/www/wiki/index.php(41): MediaWiki->run() #11 {main}
Other pages, including the ones which display ReCaptcha, work fine.
/Special:UserLogin used to work on this site, and started to malfunction a couple of days ago.
ReCaptcha is enabled with:
wfLoadExtensions( array( 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ) ); $wgCaptchaClass = 'ReCaptchaNoCaptcha'; $wgReCaptchaSiteKey = 'SiteKey.............'; $wgReCaptchaSecretKey = 'SecretKey...........';
Not sure how to deal with it - does anyone have any idea? A different MediaWiki install on the same server works fine for /Special:UserLogin.
Tomasz Chmielewski https://lxadm.com
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 2016-08-12 02:55, Florian Schmidt wrote:
Hi,
are you sure you have updated MediaWiki 1.27 correctly? ObjectCache:: getLocalClusterInstance() should be available in MediaWiki 1.27. Please check, if all files were updated correctly :)
That was it, thanks for the hint! :)
Tomasz Chmielewski https://lxadm.com
mediawiki-l@lists.wikimedia.org