Page MenuHomePhabricator

Fatal error: Call to undefined method Article::getContext() OnlineStatusBarHooks.php:55 (Mediawiki 1.17.3, extension branch REL1_17)
Closed, InvalidPublic

Description

Author: brandonskypimenta

Description:
When opening a userpage I get this :

Fatal error: Call to undefined method Article::getContext() in /Users/sky/Sites/brandonsky11o/g/wiki/extensions/OnlineStatusBar/OnlineStatusBarHooks.php on line 55


Version: unspecified
Severity: normal
OS: Mac OS X 10.6
Platform: Macintosh

Details

Reference
bz39187

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:06 AM
bzimport set Reference to bz39187.
bzimport added a subscriber: Unknown Object (MLST).

MediaWiki 1.17 is obsolete, it's been EOLed. Sounds like you're trying to run the most recent version of an extension on an outdated MediaWiki install.

Doesn't sound like a bug to me.

brandonskypimenta wrote:

Lol, over a month ago. What does "EOL" mean? And this extension is just useless.

Get rid of the extension. Not a critical problem. Probably just an incompatible extension.

(In reply to comment #2)

Lol, over a month ago. What does "EOL" mean? And this extension is just
useless.

EOL = End of Life

No more security patches. No more support. No longer something you should use.

MediaWiki 1.17 was legacy (supported but you should upgrade to 1.18 which was current) for 6 months. Now that 1.19 is out 1.17 is not supported at all.

Upgrade your wiki.

brandonskypimenta wrote:

How To Remove :

  1. Comment the following line in Localsettings.PhP:

require_once("$IP/extensions/OnlineStatusBar/OnlineStatusBar.php");

  1. Run the following Sql query through the Special:Asksql special page if you have Asksql installed:

DROP TABLE online_status;

Or if you don't have Asksql, install it or download an SQL file that you can run against your wiki's database at http://www.mediafire.com/?8m4kk0qvf4m9kvh

  1. Delete the unneeded extension folder. Using a command line program such as Unix Terminal, change the directory to the extensions folder of your MediaWiki root and run this command:

sudo rm -rd OnlineStatusBar

Enter your password and press enter.

In the future, please stop adding "critical" or "blocker" to bugs that don't deserve that status, Brandon. Those are for VERY FEW bugs.

brandonskypimenta wrote:

Fixed the status. Plus, I want the can_confirm and editbugs permissions.

Back to INVALID. You probably shouldn't change that again.