Page MenuHomePhabricator

onParserAfterParse() expects exactly 1 parameter, 0 given in /srv/mediawiki/php-1.26wmf5/extensions/Graph/Graph.body.php on line 31
Closed, ResolvedPublicPRODUCTION ERROR


This is the #3 most-frequent error in fatalmonitor.

Event Timeline

mmodell raised the priority of this task from to Needs Triage.
mmodell updated the task description. (Show Details)
mmodell added a subscriber: mmodell.


fatal error: Argument 1 passed to Graph\Singleton::onParserAfterParse() must be an instance of Parser, undefined variable given in /srv/mediawiki/php-1.26wmf5/extensions/Graph/Graph.body.php on line 31

This is similar to: T73772.

Basically caused because of invalid call (because the arguments are not documented to be optional) on the hook by Math extension, causing the implementation to be called at times without arguments.

Currently in MathTexvc.php:406

I'm wondering what the connection is between ParserAfterCache hooks executing and the image being saved.....

Physikerwelt triaged this task as Medium priority.

Change 211401 had a related patch set uploaded (by Physikerwelt):
Add required arguments to ParserAfterParse hook call

Change 211401 merged by jenkins-bot:
Add required arguments to ParserAfterParse hook call

demon added a subscriber: demon.

Not seen in production since June 12th, thanks!

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:12 PM