Last modified: 2013-09-07 02:25:33 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 T55523, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53523 - PHP "Can't inherit abstract function" error on ee-prototype
PHP "Can't inherit abstract function" error on ee-prototype
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Unprioritized major (vote)
: ---
Assigned To: Erik Bernhardson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-29 07:38 UTC by spage
Modified: 2013-09-07 02:25 UTC (History)
2 users (show)

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


Attachments

Description spage 2013-08-29 07:38:30 UTC
On ee-prototype, /var/log/apache2/error.log contained

PHP Fatal error:  Can't inherit abstract function Flow\\Data\\Index::getLimit() (previously declared abstract in Flow\\Data\\FeatureIndex) in /mnt/mediawiki/extensions/Flow/includes/Data/ObjectManager.php on line 693

I'm not seeing this error on my local instance running 5.4.9-4ubuntu2.2.

Maybe it's a PHP version issue?  ee-prototype is running PHP 5.3.2-2wm1 and http://www.php.net/manual/en/language.oop5.interfaces.php says "Prior to PHP 5.3.9, a class could not implement two interfaces that specified a method with the same name".   Other labs instances and production are running 5.3.10-1ubuntu3.6+wmf1 (apache2handler).
Comment 1 Gerrit Notification Bot 2013-08-29 16:51:45 UTC
Change 81682 had a related patch set uploaded by EBernhardson (WMF):
Fix compatability with php5.3.3

https://gerrit.wikimedia.org/r/81682
Comment 2 Gerrit Notification Bot 2013-08-29 22:26:52 UTC
Change 81682 merged by Matthias Mullie:
Fix compatability with php5.3.3

https://gerrit.wikimedia.org/r/81682
Comment 3 spage 2013-09-05 05:48:47 UTC
Gerrit change #81682 worked, but now ee-prototype is getting it from Block.php:

[Thu Sep 05 05:31:38 2013] [error] [client 216.38.130.164] PHP Fatal error:  Can't inherit abstract function Flow\\Block\\Block::commit() (previously declared abstract in Flow\\Block\\AbstractBlock) in /srv/mediawiki/extensions/Flow/includes/Block/Block.php on line 42

gerrit patch forthcoming...
Comment 4 spage 2013-09-07 02:25:33 UTC
Gerrit change #82800 , merged.

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


Navigation
Links