Page MenuHomePhabricator

Semantic Glossary and SMW 2.5.x
Closed, DeclinedPublic

Description

I tried to upgrade a test-wiki (MW 1.23) from SMW 2.4.x to 2.5.
upgrade.php works quite far, but then throws an error:

Database initialized completed.
Import of vocabulary.json ...
... creating MediaWiki:Smw import skos contents ...
... creating MediaWiki:Smw import foaf contents ...
... creating MediaWiki:Smw import owl contents ...
... creating Attribut:Foaf:knows contents ...
... creating Attribut:Foaf:name contents ...
... creating Attribut:Foaf:homepage contents ...
... creating Attribut:Owl:differentFrom contents ...
... done.
Import processing completed.
...site_stats is populated...done.
Fatal error: Call to a member function getValueFormatter() on a non-object in
../extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_String.php on line 74

The solution was to deactivate Semantic Glossary. So this is probably some incompatibliity with Semantic Glossary and SMW 2.5?

Event Timeline

So this is probably some incompatibliity with Semantic Glossary and SMW 2.5?

No it is not incompatible, and as I explained during an email conversation SG 2.x is compatible [0] with it but it doesn't imply that SG 1.x is compatible with it. Since you need 1.23 as outlined, you are limited to 1.x which isn't the fault of the software or the boundaries it explicitly requires.

[0] https://github.com/SemanticMediaWiki/SemanticGlossary/pull/20

Sorry, I wasn't specific enough. I was using SG 1.x.