Thread:Extension talk:Semantic Extra Special Properties/Initialisation value is not a number error.

Hi.

I'm running SMW 1.8.0.5 on SMW 1.21.2. My SESP version is 0.2.8. I'm getting errors when saving pages using a Semantic Form (v2.6). It does not happen everytime, but I cannot see a pattern. However, it is happening a lot.

Initialisation value '' is not a number.

Backtrace:


 * 1) 0 /var/www/webapps/localoffer_dev/extensions/SemanticExtraSpecialProperties/SemanticExtraSpecialProperties.hooks.php(276): SMWDINumber->__construct(NULL)
 * 2) 1 [internal function]: SemanticESP::sespUpdateDataBefore(Object(SMWSQLStore3), Object(SMWSemanticData))
 * 3) 2 /var/www/webapps/localoffer_dev/includes/Hooks.php(255): call_user_func_array('SemanticESP::se...', Array)
 * 4) 3 /var/www/webapps/localoffer_dev/includes/GlobalFunctions.php(3883): Hooks::run('SMWStore::updat...', Array)
 * 5) 4 /var/www/webapps/localoffer_dev/extensions/SemanticMediaWiki/includes/storage/SMW_Store.php(216): wfRunHooks('SMWStore::updat...', Array)
 * 6) 5 /var/www/webapps/localoffer_dev/extensions/SemanticMediaWiki/includes/SMW_ParseData.php(374): SMWStore->updateData(Object(SMWSemanticData))
 * 7) 6 /var/www/webapps/localoffer_dev/extensions/SemanticMediaWiki/includes/SMW_ParseData.php(518): SMWParseData::storeData(Object(ParserOutput), Object(Title), true)
 * 8) 7 [internal function]: SMWParseData::onLinksUpdateConstructed(Object(LinksUpdate))
 * 9) 8 /var/www/webapps/localoffer_dev/includes/Hooks.php(255): call_user_func_array('SMWParseData::o...', Array)
 * 10) 9 /var/www/webapps/localoffer_dev/includes/GlobalFunctions.php(3883): Hooks::run('LinksUpdateCons...', Array)
 * 11) 10 /var/www/webapps/localoffer_dev/includes/LinksUpdate.php(108): wfRunHooks('LinksUpdateCons...', Array)
 * 12) 11 /var/www/webapps/localoffer_dev/includes/parser/ParserOutput.php(474): LinksUpdate->__construct(Object(Title), Object(ParserOutput), true)
 * 13) 12 /var/www/webapps/localoffer_dev/includes/content/AbstractContent.php(242): ParserOutput->getSecondaryDataUpdates(Object(Title), true)
 * 14) 13 /var/www/webapps/localoffer_dev/includes/WikiPage.php(2050): AbstractContent->getSecondaryDataUpdates(Object(Title), NULL, true, Object(ParserOutput))
 * 15) 14 /var/www/webapps/localoffer_dev/includes/WikiPage.php(1803): WikiPage->doEditUpdates(Object(Revision), Object(User), Array)
 * 16) 15 [internal function]: WikiPage->doEditContent(Object(WikitextContent), '', 98, false, NULL, 'text/x-wiki')
 * 17) 16 /var/www/webapps/localoffer_dev/includes/Article.php(1951): call_user_func_array(Array, Array)
 * 18) 17 [internal function]: Article->__call('doEditContent', Array)
 * 19) 18 /var/www/webapps/localoffer_dev/includes/EditPage.php(1708): Article->doEditContent(Object(WikitextContent), '', 98, false, NULL, 'text/x-wiki')
 * 20) 19 /var/www/webapps/localoffer_dev/includes/EditPage.php(1187): EditPage->internalAttemptSave(Array, false)
 * 21) 20 /var/www/webapps/localoffer_dev/includes/EditPage.php(416): EditPage->attemptSave
 * 22) 21 /var/www/webapps/localoffer_dev/includes/actions/EditAction.php(59): EditPage->edit
 * 23) 22 /var/www/webapps/localoffer_dev/includes/actions/EditAction.php(86): EditAction->show
 * 24) 23 /var/www/webapps/localoffer_dev/includes/Wiki.php(439): SubmitAction->show
 * 25) 24 /var/www/webapps/localoffer_dev/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
 * 26) 25 /var/www/webapps/localoffer_dev/includes/Wiki.php(565): MediaWiki->performRequest
 * 27) 26 /var/www/webapps/localoffer_dev/includes/Wiki.php(458): MediaWiki->main
 * 28) 27 /var/www/webapps/localoffer_dev/index.php(59): MediaWiki->run
 * 29) 28 {main}