Page MenuHomePhabricator

Throwing PHP notices on page views
Closed, ResolvedPublic

Description

Author: robchur

Description:
Viewing the main page of a wiki running trunk (r20906), current version of
DidYouMean as in Subversion, with extended error reporting active:

"Notice: Undefined property: Parser::$mDymFirstChunk in /path/to/DidYouMean.php
on line 73"

Extension appears to be altering the Parser object; I suggest it should use some
other construct to store persistent data per-session.


Version: unspecified
Severity: normal

Details

Reference
bz9479

Event Timeline

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

Seems to have been fixed in r23213.

The check of $parser->mDymFirstChunk was changed to == 'no' to isset(), thus avoiding the error.