SemanticMediaWiki / SemanticCite

Allows to manage citation resources using semantic annotations
https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Cite
Other
24 stars 13 forks source link

HHVM: Fatal error: Uncaught exception 'InvalidArgumentException' #43

Closed kghbln closed 7 years ago

kghbln commented 7 years ago

Setup and configuration

Issue

Build job fails with ...

Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The value for 'load_composer_autoloader' should be an array' in /home/travis/build/SemanticMediaWiki/mw/includes/registration/ExtensionProcessor.php:348

Stack trace

#0 /home/travis/build/SemanticMediaWiki/mw/includes/registration/ExtensionProcessor.php(173): ExtensionProcessor->storeToArray()
#1 /home/travis/build/SemanticMediaWiki/mw/includes/registration/ExtensionRegistry.php(202): ExtensionProcessor->extractInfo()
#2 /home/travis/build/SemanticMediaWiki/mw/includes/registration/ExtensionRegistry.php(127): ExtensionRegistry->readFromQueue()
#3 /home/travis/build/SemanticMediaWiki/mw/includes/Setup.php(39): ExtensionRegistry->loadFromQueue()
#4 /home/travis/build/SemanticMediaWiki/mw/maintenance/doMaintenance.php(97): include()
#5 /home/travis/build/SemanticMediaWiki/mw/maintenance/update.php(214): include()
#6 {main}
mwjames commented 7 years ago

mw/includes/registration/ExtensionProcessor.php(173): ExtensionProcessor->storeToArray()

The is a pure MediaWiki thing, https://phabricator.wikimedia.org/T135870. We are not using any extension.json so I'm not sure why this pops up.

kghbln commented 7 years ago

The is a pure MediaWiki thing, https://phabricator.wikimedia.org/T135870. We are not using any extension.json so I'm not sure why this pops up.

So unless the fix is not being backported to REL1_27 HHVM is not an option for SCI? So no holdup for 1.3.0!

kghbln commented 7 years ago

We are not using any extension.json so I'm not sure why this pops up.

Oh man now I understand the extend of this issue.

mwjames commented 7 years ago

So unless the fix is not being backported to REL1_27 HHVM is not an option for SCI?

I'm too tired with these guys, so I just changed the required MW release on Travis [0]. Someone changed something, somewhere but don't ask any details!

[0] https://github.com/SemanticMediaWiki/SemanticCite/commit/0eb133d2b67246eba74e9236a241711463fc798e

kghbln commented 7 years ago

I'm too tired with these guys, so I just changed the required MW release on Travis [0]. Someone changed something, somewhere but don't ask any details!

Well 1.26.x is no longer supported anyways. Let's move on ...