Last modified: 2012-08-06 19:02:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40672, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38672 - Fatal error: Call to a member function isAllowed() on a non-object in in /path/to/wiki/extensions/TitleBlacklist/TitleBlacklist.list.php on line 316
Fatal error: Call to a member function isAllowed() on a non-object in in /pat...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
TitleBlacklist (Other open bugs)
unspecified
Macintosh Mac OS X 10.6
: Unprioritized blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-25 15:17 UTC by Brandon Sky
Modified: 2012-08-06 19:02 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Brandon Sky 2012-07-25 15:17:36 UTC
Notice: Undefined variable: user in /Users/sky/Sites/brandonsky11o/g/wiki/extensions/TitleBlacklist/TitleBlacklist.list.php on line 316 
Fatal error: Call to a member function isAllowed() on a non-object in /Users/sky/Sites/brandonsky11o/g/wiki/extensions/TitleBlacklist/TitleBlacklist.list.php on line 316 
--------------------------------------
PHP: 5.3.0
MediaWiki: 1.17.3
TitleBlacklist: REL1_17
SQLite: 3.6.15
Comment 1 matanya 2012-07-25 16:22:34 UTC
Can you please tell us what did you do before you got this error?
Comment 2 Brandon Sky 2012-07-25 16:29:38 UTC
I logged out of my account on my personal wiki. I edited any pages and the wiki crashes with this error.
Comment 3 Sam Reed (reedy) 2012-07-25 18:03:16 UTC
Replace $user with $wgUser and add "global $wgUser;" on the line before (not in quotes)

REL1_17 is readonly in SVN, so can't make any changes
Comment 4 Brandon Sky 2012-08-06 19:02:07 UTC
Same error. I didn't use globals as it is a gargantuan security risk that can be used for XSS attacks. Requesting a reopen of this bug.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links