Page MenuHomePhabricator

Get error in Preprocessor_Hash.php row 1021
Closed, ResolvedPublic

Description

Author: jonny.stendahl

Description:
Hi,

I get this error in my internal wiki:

Fatal error: Call to undefined method StripState::setGeneral() in /var/www/html/dwdoc/includes/parser/Preprocessor_Hash.php on line 1021

I have this in my LocalSettings.php:
error_reporting(E_ALL);
ini_set("display_errors", 1);

I have the code from SVN from 08:00 (Swedish time) 2011-02-24

//
Jonny


Version: 1.18.x
Severity: normal

Details

Reference
bz27673

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:31 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz27673.
bzimport added a subscriber: Unknown Object (MLST).

Thanks for the report

Marked on the revision to blame http://www.mediawiki.org/wiki/Special:Code/MediaWiki/82645#c14431

So it should get dealt with quickly

jonny.stendahl wrote:

Hi,

I have tried to change to addGeneral and that seems to work. But I do not actually know anything about coding php or about Mediawiki classes ...

//
Jonny