Last modified: 2008-08-29 19:45:32 UTC
Immediately after updating SMW from version 1.2.1 to version 1.2.2 (that is, when pointing the "SemanticMediaWiki" extension subdirectory to the new version), this error appears: Fatal error: Call to a member function _unstub() on a non-object in /var/lib/mediawiki/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php on line 241 Apparetly, the new code is calling: $wgParser->unstub() and here the wiki explodes (so to speak) and nothing else happens. Here are the details: * Can the problem be viewed online in a public wiki? NO, INTRANET ONLY, SORRY * Which versions of SMW was used? 1.2.2 * Which version of MediaWiki was used? 1.11.2 * Which server setup was used (PHP, MySQL, OS)? PHP 5.2.4-2ubuntu5.3 (apache2handler) MySQL 5.0.51A-3ubuntu5.1 Ubuntu 8.04 on an x86 machine (32-bit) * Can the problem be reproduced on a test page on our sandbox site? I DON'T KNOW
This was a bug in SMW 1.2.2 (and there only). As a cure, download the fixed file http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SemanticMediaWiki/REL_1_2_2/includes/SMW_GlobalFunctions.php and use it to replace the file SemanticMediaWiki/includes/SMW_GlobalFunctions.php in your SMW installation.