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

Issues with HookRegistry #15

Closed kghbln closed 9 years ago

kghbln commented 9 years ago

I am just setting up the sandbox but fail to create the table during the update.php run:

PHP Warning:  Missing argument 1 for SCI\HookRegistry::SCI\{closure}() in /.../w/extensions/SemanticCite/src/HookRegistry.php on line 121
PHP Notice:  Undefined variable: dataTypeRegistry in /.../w/extensions/SemanticCite/src/HookRegistry.php on line 123
PHP Fatal error:  Call to a member function registerDatatype() on a non-object in /.../w/extensions/SemanticCite/src/HookRegistry.php on line 123

Setup:

mwjames commented 9 years ago

MW 1.25.2, SMW 2.2.2, PHP 5.4.45, MariaDB 5.5.45

SCI requires 2.3 (as stated) which is also the reason why 1.0 hasn't been released yet because it requires changes from the 2.3@dev master.

kghbln commented 9 years ago

Fair enough. Just copied the "composer.local.json" file over from my test wiki which is running SMW master.