Page MenuHomePhabricator

Call to undefined method DOMDocument::setAttribute() in MobileFormatter.php on line 239
Closed, ResolvedPublic2 Estimated Story Points

Description

Seen in prod:

Fatal error: Call to undefined method DOMDocument::setAttribute() in /srv/mediawiki/php-1.28.0-wmf.4/extensions/MobileFrontend/includes/MobileFormatter.php on line 239

Event Timeline

jhobs raised the priority of this task from High to Unbreak Now!.Jun 9 2016, 5:18 PM

Initial information/thoughts:

  • on-demand reference loading is disabled in production
    • on-demand references can be enabled in production by placing a magic cookie in your cookie jar
  • this will affect the main page or a special page if it contains a <references> tag
  • this has happened 35 times in the last 7 days
jhobs lowered the priority of this task from Unbreak Now! to High.Jun 9 2016, 6:59 PM
jhobs subscribed.

Re-prioritizing to High after initial investigation by @phuedx. I wouldn't be surprised if those 35 instances are accidental from WMF devs.

After talking with @Peter, I can rule out wikimedia/wpt-reporter as:

  • there's no mention of mfLazyLoadReferences in the repository
  • the errors are happening somewhat sporadically rather than every three hours

Change 293718 had a related patch set uploaded (by Phuedx):
Don't mark document as reference section

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

Change 293718 merged by jenkins-bot:
Don't mark document as reference section

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

phuedx set the point value for this task to 2.Jun 13 2016, 5:13 PM

Screen Shot 2016-06-15 at 12.14.48 PM.png (141×1 px, 44 KB)

A few instances of the error have popped up.

Let's monitor this after thursday's deployment of group2 and see if they disappear.

Jhernandez claimed this task.

Last one seems to be on wednesday, nothing has happened since, so I'm calling it done.

Screen Shot 2016-06-17 at 12.57.00 PM.png (307×1 px, 23 KB)