Discussion:
SMW upgrade problem
(too old to reply)
Krabina Bernhard
2017-06-16 06:58:11 UTC
Permalink
Hi,

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

Deactivating SMW and all related extensions does not help. Could that be an issue with SMW 2.5 and MW 1.23?

cheers,
Bernhard
Krabina Bernhard
2017-06-16 07:07:22 UTC
Permalink
going back to SMW 2.4.0 the error disappears...
Post by Krabina Bernhard
Hi,
I tried to upgrade a test-wiki (MW 1.23) from SMW 2.4.x to 2.5.
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
Deactivating SMW and all related extensions does not help. Could that be an
issue with SMW 2.5 and MW 1.23?
cheers,
Bernhard
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Hermann Schwärzler
2017-06-19 10:33:34 UTC
Permalink
Hi Bernhard,

the compatibility table states that SMW 2.5 should work with MW 1.23
(https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/docs/COMPATIBILITY.md#platform-compatibility).

Which version of PHP (or hhvm) are you using?

Greetings
Hermann

On 06/16/2017 08:58 AM, Krabina Bernhard wrote:
[...]
Post by Krabina Bernhard
Fatal error: Call to a member function getValueFormatter() on a non-object in ../extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_String.php on line 74
Deactivating SMW and all related extensions does not help. Could that be an issue with SMW 2.5 and MW 1.23?
[...]
Krabina Bernhard
2017-06-19 13:30:00 UTC
Permalink
Hi Hermann,

the problem was the Semantic Glossary extension. As soon as I deactivated it, it worked...

cheers,
Bernhard
Post by Hermann Schwärzler
Hi Bernhard,
the compatibility table states that SMW 2.5 should work with MW 1.23
(https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/docs/COMPATIBILITY.md#platform-compatibility).
Which version of PHP (or hhvm) are you using?
Greetings
Hermann
[...]
Post by Krabina Bernhard
Fatal error: Call to a member function getValueFormatter() on a non-object in
../extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_String.php on line
74
Deactivating SMW and all related extensions does not help. Could that be an
issue with SMW 2.5 and MW 1.23?
[...]
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
[[kgh]]
2017-06-19 18:49:57 UTC
Permalink
Heiya Bernhard,

thanks for keeping us in the loop. This issue was reported somehow?

Cheers Karsten
Post by Krabina Bernhard
Hi Hermann,
the problem was the Semantic Glossary extension. As soon as I deactivated it, it worked...
cheers,
Bernhard
Post by Hermann Schwärzler
Hi Bernhard,
the compatibility table states that SMW 2.5 should work with MW 1.23
(https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/docs/COMPATIBILITY.md#platform-compatibility).
Which version of PHP (or hhvm) are you using?
Greetings
Hermann
[...]
Post by Krabina Bernhard
Fatal error: Call to a member function getValueFormatter() on a non-object in
../extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_String.php on line
74
Deactivating SMW and all related extensions does not help. Could that be an
issue with SMW 2.5 and MW 1.23?
[...]
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Krabina Bernhard
2017-06-20 13:15:41 UTC
Permalink
not it is: https://phabricator.wikimedia.org/T168398

cheers,
Bernhard
Post by [[kgh]]
Heiya Bernhard,
thanks for keeping us in the loop. This issue was reported somehow?
Cheers Karsten
Post by Krabina Bernhard
Hi Hermann,
the problem was the Semantic Glossary extension. As soon as I deactivated it, it
worked...
cheers,
Bernhard
----- Am 19. Jun 2017 um 12:33 schrieb Hermann Schwaerzler
Post by Hermann Schwärzler
Hi Bernhard,
the compatibility table states that SMW 2.5 should work with MW 1.23
(https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/docs/COMPATIBILITY.md#platform-compatibility).
Which version of PHP (or hhvm) are you using?
Greetings
Hermann
[...]
Post by Krabina Bernhard
Fatal error: Call to a member function getValueFormatter() on a non-object in
../extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_String.php on line
74
Deactivating SMW and all related extensions does not help. Could that be an
issue with SMW 2.5 and MW 1.23?
[...]
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Loading...