Page MenuHomePhabricator

Fatal error: Call to a member function getMessage() on a non-object in /mediawiki/extensions/Translate/tag/TranslatablePage.php on line 253
Closed, DeclinedPublic


PHP stacktrace

Got a fatal error when running Translate tests with CirrusSearch and other extensions installed.

PHP stacktrace attached

Version: unspecified
Severity: normal
See Also: T70672: hhvm: SolrTTMServerTest::testSearchableTTMServer BadMethodCallException: Call to a member function getMessage() on a non-object (NULL)




Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:36 AM
bzimport set Reference to bz67295.
bzimport added a subscriber: Unknown Object (MLST).

On first guess there seems to be a lot of interference from other tests:

  • there are jobs in the jobqueue
  • there are translatable pages in the database

We really need tests to pass when all wmf extensions are installed together. That is preventing us from progression toward the HHVM migrating. Raising priority to High.

I'm currently unable to run Translate tests under hhvm due to bug 68491.

Created attachment 16041
php5 phpunit.php fatals

This happens in php5 as well. Might not be the culprit, but most other stuff happening at the same time seems to be from CirrusSearch.


I confirm it disappeared after disabling the cirrussearch role.

Nikerabbit lowered the priority of this task from High to Medium.Jul 21 2015, 7:53 PM
Nikerabbit changed the task status from Open to Stalled.Dec 22 2020, 8:49 AM

@hashar Any idea if this is still happening?

I have no idea whether that is still an issue nor how to even reproduce it. I think the original intent was to run the PHPUnit tests with all Wikimedia extensions installed. Then that was like 6 years ago... ;)