Page MenuHomePhabricator

Graph: First parameter must either be an object or the name of an existing class
Closed, ResolvedPublicPRODUCTION ERROR

Description

Spotted in production:

Warning: First parameter must either be an object or the name of an existing class in /srv/mediawiki/php-1.29.0-wmf.7/extensions/Graph/includes/ApiGraph.php on line 163

Event Timeline

Change 331801 had a related patch set uploaded (by MaxSem):
Fix warning in production

https://gerrit.wikimedia.org/r/331801

Change 331801 merged by jenkins-bot:
Fix warning in production

https://gerrit.wikimedia.org/r/331801

MaxSem claimed this task.

Mentioned in SAL (#wikimedia-operations) [2017-01-12T22:08:50Z] <maxsem@tin> Synchronized php-1.29.0-wmf.7/extensions/Graph/includes/ApiGraph.php: Debug for T155057 (duration: 00m 38s)

debt moved this task from Backlog to Done on the Maps-Sprint board.

We've had a spike of these warnings, need to investigate deeper.

Change 332913 had a related patch set uploaded (by MaxSem):
Add logging of pages with broken data

https://gerrit.wikimedia.org/r/332913

Change 332913 merged by jenkins-bot:
Add logging of pages with broken data

https://gerrit.wikimedia.org/r/332913

Change 332916 had a related patch set uploaded (by MaxSem):
Add logging of pages with broken data

https://gerrit.wikimedia.org/r/332916

Change 332916 merged by jenkins-bot:
Add logging of pages with broken data

https://gerrit.wikimedia.org/r/332916

Upon reading logs generated by the above change, the conclusion that this is data truncation at https://ru.wikipedia.org/wiki/User:MaxBioHazard/pageview_peaks and the solution is T119043: Graph/Graphoid/Kartographer - data storage architecture. Current error suppressing plug is justified, logging code will stay for now until we resolve the storage problem. This can be closed.

Change 470221 had a related patch set uploaded (by Krinkle; owner: Krinkle):
[mediawiki/extensions/Graph@master] Remove AdHocDebug from master branch

https://gerrit.wikimedia.org/r/470221

Change 470221 merged by jenkins-bot:
[mediawiki/extensions/Graph@master] Remove AdHocDebug from master branch

https://gerrit.wikimedia.org/r/470221

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