https://bugzilla.wikimedia.org/show_bug.cgi?id=51667
Web browser: ---
Bug ID: 51667
Summary: Object of class Wikibase\TermSqlIndex could not be
converted to string
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
This is likely related to the schema change going on at the same time to
wb_terms table.
Nonetheless, the code should be more robust and not cause a fatal error.
[18-Jul-2013 22:37:23] Catchable fatal error: Object of class
Wikibase\TermSqlIndex could not be converted to string at
/usr/local/apache/common-local/php-1.22wmf10/includes/db/Database.php on line
1012
Server: mw1201
Method: POST
URL: http://fr.wikidata.org/w/api.php
Backtrace:
#0 /usr/local/apache/common-local/php-1.22wmf10/includes/db/Database.php(1012):
DatabaseBase::reportQueryError()
#1 /usr/local/apache/common-local/php-1.22wmf10/includes/db/Database.php(2969):
DatabaseBase->reportQueryError('Deadlock found ...', 1213, 'INSERT INTO
`w...', Object(Wikibase\TermSqlIndex))
#2
/usr/local/apache/common-local/php-1.22wmf10/extensions/Wikibase/lib/includes/store/sql/TermSqlIndex.php(122):
DatabaseBase->deadlockLoop(Array, Object(Wikibase\Item), Object(DatabaseMysql))
#3
/usr/local/apache/common-local/php-1.22wmf10/extensions/Wikibase/repo/includes/updates/EntityModificationUpdate.php(76):
Wikibase\TermSqlIndex->saveTermsOfEntity(Object(Wikibase\Item))
#4 /usr/local/apache/common-local/php-1.22wmf10/includes/DataUpdate.php(102):
Wikibase\EntityModificationUpdate->doUpdate()
#5 /usr/local/apache/common-local/php-1.22wmf10/includes/WikiPage.php(2077):
DataUpdate::runUpdates(Array)
#6 /usr/local/apache/common-local/php-1.22wmf10/includes/WikiPage.php(1826):
WikiPage->doEditUpdates(Object(Revision), Object(User), Array)
#7
/usr/local/apache/common-local/php-1.22wmf10/extensions/Wikibase/repo/includes/content/EntityContent.php(496):
WikiPage->doEditContent(Object(Wikibase\ItemContent), '/* wbeditentity...', 82,
59929040, Object(User))
#8
/usr/local/apache/common-local/php-1.22wmf10/extensions/Wikibase/repo/includes/EditEntity.php(708):
Wikibase\EntityContent->save('/* wbeditentity...', Object(User), 82, 59929040,
NULL)
#9
/usr/local/apache/common-local/php-1.22wmf10/extensions/Wikibase/repo/includes/api/ApiWikibase.php(690):
Wikibase\EditEntity->attemptSave('/* wbeditentity...', 18,
'b931165fb383833...')
#10
/usr/local/apache/common-local/php-1.22wmf10/extensions/Wikibase/repo/includes/api/ModifyEntity.php(212):
Wikibase\Api\ApiWikibase->attemptSaveEntity(Object(Wikibase\ItemContent), '/*
wbeditentity...', 18)
#11 /usr/local/apache/common-local/php-1.22wmf10/includes/api/ApiMain.php(840):
Wikibase\Api\ModifyEntity->execute()
#12 /usr/local/apache/common-local/php-1.22wmf10/includes/api/ApiMain.php(380):
ApiMain->executeAction()
#13 /usr/local/apache/common-local/php-1.22wmf10/includes/api/ApiMain.php(351):
ApiMain->executeActionWithErrorHandling()
#14 /usr/local/apache/common-local/php-1.22wmf10/api.php(73):
ApiMain->execute()
#15 /usr/local/apache/common-local/w/api.php(3): require('/usr/local/apac...')
#16 {main}
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l