Last modified: 2014-02-19 12:02:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62546, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60546 - Parser: Cannot load any page on Betalabs which had Math function added to it and shows the error PHP fatal error in /data/project/apache/common-local/php-master/extensions/Math/Math.hooks.php line 50: Call to undefined method ParserOptions::getMath()
Parser: Cannot load any page on Betalabs which had Math function added to it ...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 60486 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-28 22:51 UTC by Rummana Yasmeen
Modified: 2014-02-19 12:02 UTC (History)
11 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot (83.96 KB, image/png)
2014-01-28 22:51 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-01-28 22:51:10 UTC
Created attachment 14402 [details]
Screenshot

I cannot load any of my test pages which had Math function added to it.It is showing an error:
 PHP fatal error in /data/project/apache/common-local/php-master/extensions/Math/Math.hooks.php line 50: Call to undefined method ParserOptions::getMath()

For Example:
http://en.wikipedia.beta.wmflabs.org/wiki/23rd_january?veaction=edit
http://en.wikipedia.beta.wmflabs.org/wiki/Jan28thff?veaction=edit
Comment 1 Chris McMahon 2014-01-28 22:59:50 UTC
added See also.  

Math extension was updated recently, which caused errors until Reedy deployed a new texvccheck on beta.  (texvccheck will have to go to the apaches in production as well)

https://git.wikimedia.org/commit/mediawiki%2Fextensions%2FMath/6a0af8f3b4ea985c8dca1a1d5fa78e9d3cf1210c
Comment 2 Gabriel Wicke 2014-01-28 23:13:18 UTC
Closing as duplicate of the the math extension deploy issue bug.

*** This bug has been marked as a duplicate of bug 60486 ***
Comment 3 Chris McMahon 2014-01-28 23:34:16 UTC
 
We fixed the support for the Math extension in regular pages by updating texvccheck.  After that fix, we began seeing the Parsoid error noted in the bug. 

Parsoid is causing the new error.
Comment 4 Gabriel Wicke 2014-01-28 23:37:13 UTC
Right now I am getting a server error when accessing betalabs in general. Can you describe the Parsoid issue?
Comment 5 Chris McMahon 2014-01-28 23:43:36 UTC
assigning back to Math extension.  

Fatal error on beta labs is 

PHP fatal error in /data/project/apache/common-local/php-master/extensions/Math/Math.hooks.php line 50: 
Call to undefined method ParserOptions::getMath()
Comment 6 Antoine "hashar" Musso (WMF) 2014-01-29 09:06:38 UTC
This is caused by https://gerrit.wikimedia.org/r/#/c/108490/ which was meant to fix bug 60234 "parseroptions contain extension specific code".

The method got deprecated in 1.22 via a comment but was not deprecated using wfDeprecated() :(  I guess we want to revert the patch.
Comment 7 physikerwelt 2014-01-29 09:09:44 UTC
ok the problem is that only the core part was merged but not the math extension part
Comment 8 physikerwelt 2014-01-29 09:13:43 UTC
ok I merged the other part... at least the link above works again now.
Comment 9 Rummana Yasmeen 2014-01-29 21:27:47 UTC
Verified the fix on Betalabs
Comment 10 physikerwelt 2014-02-19 12:02:06 UTC
*** Bug 60486 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links