Page MenuHomePhabricator

"Login required to read" occures fatal error
Closed, DeclinedPublic

Description

Author: tietew-mediazilla

Description:
$wgGroupPermissions['*'] = array();
$wgWhitelistRead = array( 'Special:Userlogin' );

under above settings, viewing unpermitted page occures following error:

Fatal error: Call to a member function getLatest() on a non-object in
/export/www/mediawiki/phase3/includes/SkinTemplate.php on line 817

excepted:

You have to login to read pages.


Version: 1.8.x
Severity: major

Details

Reference
bz6953

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:19 PM
bzimport set Reference to bz6953.
bzimport added a subscriber: Unknown Object (MLST).

tietew-mediazilla wrote:

patch

Attached:

This seems to work ok as of r16305.

rotemliss wrote:

It was fixed in r16130.