Last modified: 2012-09-14 18:02:09 UTC
PHP Fatal error: Call to a member function getUser() on a non-object in /opt/www/public_html/includes/RevisionList.php on line 281 (latest FlaggedRevs from git is installed)
Using 'reject'? I can't reproduce this. What version of MediaWiki core is being used?
I have reproduced this bug. On MediaWiki 1.19.2 (installed into /var/www/html), using latest FlaggedRevs from git. PHP Notice: Undefined property: RevisionList::$context in /var/www/html/includes/RevisionList.php on line 261 PHP Fatal error: Call to a member function getUser() on a non-object in /var/www/html/includes/RevisionList.php on line 281 Looking at /var/www/html/includes/RevisionList.php:261, we have: $this->context = $list->context; $context is private in /var/www/html/includes/context/ContextSource.php. Proposed new line: $this->context = $list->getContext(); Seems to have fixed the issue for me. (I'm new to BugZilla and I don't know how submit a diff/patch to this conversation or format comments.)