Thread:Talk:Semantic Bundle/ Error after updating SB with SMW 1.9.0.2 Exception ... SMW DI Container.php: Trying to get the subject of a container data item that has not been given any. This container can only be used as a search pattern.

Set-up:
 * MediaWiki 1.22.1
 * SemanticBundle from 2014-01-03
 * SMW 1.9.0.2
 * Upgraded from SMW 1.8.0.5

After Upgrading, while executing (first try):

php SMW_refreshData.php -d 50 -v (aborted)

and then (following tries):

php SMW_setup.php --delete (successful) php SMW_setup.php (successful) php SMW_refreshData.php -ftpv (successful) php SMW_refreshData.php -v (aborted)

the process aborted with following error: '''... Exception from line 76 of /var/www/myWiki/extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_Container.php: Trying to get the subject of a container data item that has not been given any. This container can only be used as a search pattern.'''

... (30) Processing ID 31 ... PHP Deprecated: preg_replace: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/myWiki/extensions/Widgets/WidgetRenderer.php on line 144 (31) Processing ID 32 ... PHP Deprecated: preg_replace: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/myWiki/extensions/Widgets/WidgetRenderer.php on line 144 (32) Processing ID 33 ... [60214063] [no req]  Exception from line 76 of /var/www/myWiki/extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_Container.php: Trying to get the subject of a container data item that has not been given any. This container can only be used as a search pattern. Backtrace:
 * 1) 0 /var/www/myWiki/extensions/SemanticMediaWiki/includes/SemanticData.php(596): SMWContainerSemanticData->getSubject
 * 2) 1 /var/www/myWiki/extensions/SemanticMediaWiki/includes/SemanticData.php(302): SMW\SemanticData->addSubSemanticData(SMWContainerSemanticData)
 * 3) 2 /var/www/myWiki/extensions/SemanticMediaWiki/includes/SemanticData.php(388): SMW\SemanticData->addPropertyObjectValue(SMW\DIProperty, SMWDIContainer)
 * 4) 3 /var/www/myWiki/extensions/SemanticMediaWiki/includes/ParserData.php(213): SMW\SemanticData->addDataValue(SMWRecordValue)
 * 5) 4 /var/www/myWiki/extensions/SemanticMediaWiki/includes/parserhooks/SetParserFunction.php(66): SMW\ParserData->addDataValue(SMWRecordValue)
 * 6) 5 /var/www/myWiki/extensions/SemanticMediaWiki/includes/parserhooks/SetParserFunction.php(90): SMW\SetParserFunction->parse(SMW\ParserParameterFormatter)
 * 7) 6 [internal function]: SMW\SetParserFunction::render(Parser, string, string, string, string)
 * 8) 7 /var/www/myWiki/includes/parser/Parser.php(3615): call_user_func_array(array, array)
 * 9) 8 /var/www/myWiki/includes/parser/Parser.php(3332): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)
 * 10) 9 /var/www/myWiki/includes/parser/Preprocessor_DOM.php(1114): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
 * 11) 10 /var/www/myWiki/extensions/ParserFunctions/ParserFunctions_body.php(137): PPFrame_DOM->expand(PPNode_DOM)
 * 12) 11 [internal function]: ExtParserFunctions::ifObj(Parser, PPTemplateFrame_DOM, array)
 * 13) 12 /var/www/myWiki/includes/parser/Parser.php(3615): call_user_func_array(string, array)
 * 14) 13 /var/www/myWiki/includes/parser/Parser.php(3332): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)
 * 15) 14 /var/www/myWiki/includes/parser/Preprocessor_DOM.php(1114): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
 * 16) 15 /var/www/myWiki/extensions/ParserFunctions/ParserFunctions_body.php(139): PPFrame_DOM->expand(PPNode_DOM)
 * 17) 16 [internal function]: ExtParserFunctions::ifObj(Parser, PPTemplateFrame_DOM, array)
 * 18) 17 /var/www/myWiki/includes/parser/Parser.php(3615): call_user_func_array(string, array)
 * 19) 18 /var/www/myWiki/includes/parser/Parser.php(3332): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)
 * 20) 19 /var/www/myWiki/includes/parser/Preprocessor_DOM.php(1114): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
 * 21) 20 /var/www/myWiki/includes/parser/Parser.php(3487): PPFrame_DOM->expand(PPNode_DOM)
 * 22) 21 /var/www/myWiki/includes/parser/Preprocessor_DOM.php(1114): Parser->braceSubstitution(array, PPFrame_DOM)
 * 23) 22 /var/www/myWiki/includes/parser/Parser.php(3149): PPFrame_DOM->expand(PPNode_DOM, integer)
 * 24) 23 /var/www/myWiki/includes/parser/Parser.php(1212): Parser->replaceVariables(string)
 * 25) 24 /var/www/myWiki/includes/parser/Parser.php(395): Parser->internalParse(string)
 * 26) 25 /var/www/myWiki/includes/content/WikitextContent.php(300): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
 * 27) 26 /var/www/myWiki/extensions/SemanticMediaWiki/includes/ContentParser.php(157): WikitextContent->getParserOutput(Title, integer, NULL, boolean)
 * 28) 27 /var/www/myWiki/extensions/SemanticMediaWiki/includes/ContentParser.php(106): SMW\ContentParser->fetchFromContent(Revision)
 * 29) 28 /var/www/myWiki/extensions/SemanticMediaWiki/includes/jobs/UpdateJob.php(85): SMW\ContentParser->parse
 * 30) 29 /var/www/myWiki/extensions/SemanticMediaWiki/includes/jobs/UpdateJob.php(62): SMW\UpdateJob->runContentParser
 * 31) 30 /var/www/myWiki/extensions/SemanticMediaWiki/includes/jobs/UpdateJob.php(52): SMW\UpdateJob->runUpdate
 * 32) 31 /var/www/myWiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_SetupHandlers.php(401): SMW\UpdateJob->run
 * 33) 32 /var/www/myWiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(410): SMWSQLStore3SetupHandlers->refreshData(integer, integer, boolean, boolean)
 * 34) 33 /var/www/myWiki/extensions/SemanticMediaWiki/maintenance/SMW_refreshData.php(148): SMWSQLStore3->refreshData(integer, integer, boolean, boolean)
 * 35) 34 {main}

What's wrong?

Many thanks in advance!