Page MenuHomePhabricator

CurrentUsers extension causes fatal error in 1.20.2: Call to undefined method User::isBot()
Closed, InvalidPublic

Description

Author: jfolvarcik

Description:
In MediaWiki version 1.20.2, the Current Users extension causes a fatal error with the following:

( ! ) Fatal error: Call to undefined method User::isBot() in (path)\extensions\CurrentUsers\CurrentUsers.php on line 44
Call Stack

Time Memory Function Location

1 0.0007 369872 {main}( ) ..\index.php:0
2 0.0015 403992 require( '(path)\includes\WebStart.php' ) ..\index.php:55
3 0.0790 3218000 require_once( '(path)\includes\Setup.php' ) ..\WebStart.php:157
4 0.1921 12125488 call_user_func ( ) ..\Setup.php:551
5 0.1921 12125488 efSetupCurrentUsers( ) ..\Setup.php:551


Version: REL1_20-branch
Severity: critical
URL: https://www.mediawiki.org/wiki/Extension:CurrentUsers

Details

Reference
bz45296

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:18 AM
bzimport set Reference to bz45296.

MediaWiki 1.20 is not supported anymore; but I guess this is still a problem in 1.22 or 1.21?

Justin: Do you know if this is still a problem in 1.23 or 1.22?

If this is still a problem, please report it at https://gitlab.com/Aranad/extensions/issues instead as the source is located at https://gitlab.com/Aranad/extensions/tree/master/MediaWiki/CurrentUsers . Thanks!