Last modified: 2014-02-12 23:53:44 UTC
Created attachment 12924 [details] stack trace Spotted on beta while accessing: http://en.wikipedia.beta.wmflabs.org/wiki/San_Francisco [22-Jul-2013 21:11:53] Fatal error: Call to a member function removeChild() on a non-object at /data/project/apache/common-local/php-master/extensions/MobileFrontend/includes/formatters/HtmlFormatter.php on line 256 Server: i-0000031a Method: GET URL: http://en.wikipedia.beta.wmflabs.org/wiki/San_Francisco Cookie: enwikiUserID=25; enwikiUserName=MaxSem; centralnotice_bucket=1-4.2; centralauth_User=MaxSem; mfsecure=1; optin=1; mf_alpha=1 Backtrace: #0 /data/project/apache/common-local/php-master/extensions/MobileFrontend/includes/formatters/HtmlFormatter.php(256): HtmlFormatter::removeElements() #1 /data/project/apache/common-local/php-master/extensions/MobileFrontend/includes/formatters/HtmlFormatter.php(208): HtmlFormatter->removeElements(Array) #2 /data/project/apache/common-local/php-master/extensions/MobileFrontend/includes/formatters/MobileFormatter.php(112): HtmlFormatter->filterContent() #3 /data/project/apache/common-local/php-master/extensions/MobileFrontend/includes/MobileFrontend.body.php(48): MobileFormatter->filterContent() #4 /data/project/apache/common-local/php-master/extensions/MobileFrontend/includes/skins/SkinMobile.php(44): ExtMobileFrontend->DOMParse(Object(OutputPage)) #5 /data/project/apache/common-local/php-master/includes/OutputPage.php(2071): SkinMobile->outputPage() #6 /data/project/apache/common-local/php-master/includes/Wiki.php(572): OutputPage->output() #7 /data/project/apache/common-local/php-master/includes/Wiki.php(458): MediaWiki->main() #8 /data/project/apache/common-local/php-master/index.php(55): MediaWiki->run() #9 /data/project/apache/common-local/w/index.php(3): require('/data/project/a...') #10 {main} To reproduce: On deployment-bastion: tail -f /data/project/logs/fatal.log Then curl -I http://en.m.wikipedia.beta.wmflabs.org/wiki/San_Francisco?bobobo Headers: HTTP/1.1 500 Internal Server Error Server: Varnish Content-Type: text/html; charset=utf-8 Content-Length: 2994 X-Varnish: 912598395, 1549110359 Via: 1.1 varnish, 1.1 varnish X-Device: generic Accept-Ranges: bytes Date: Mon, 22 Jul 2013 21:05:54 GMT Age: 1 Connection: keep-alive X-Cache: deployment-cache-mobile01 miss (0), deployment-cache-mobile01 frontend miss (0) Cache-Control: private, s-maxage=0, max-age=0, must-revalidate Stacktrace is above :-)
Sorry the URL to trigger the issue is http://en.m.wikipedia.beta.wmflabs.org/wiki/San_Francisco
Change 75252 had a related patch set uploaded by MaxSem: Bug 51840: removeChild() on a non-object in HtmlFormatter line 256 https://gerrit.wikimedia.org/r/75252
Change 75252 merged by jenkins-bot: Bug 51840: removeChild() on a non-object in HtmlFormatter line 256 https://gerrit.wikimedia.org/r/75252
Seems to have fixed the issue at http://en.m.wikipedia.beta.wmflabs.org/wiki/San_Francisco :)
bug 51694 was the bug Michelle reported last week and which is certainly related.