Last modified: 2014-10-22 17:12:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74335, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72335 - Catchable fatal error: Argument 1 passed to Wikibase\EntityChange::setMetadata() must be an array, null given
Catchable fatal error: Argument 1 passed to Wikibase\EntityChange::setMetadat...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-21 21:46 UTC by Aude
Modified: 2014-10-22 17:12 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Aude 2014-10-21 21:46:09 UTC
on master, when trying to run jobs on my client wiki:

Warning: array_merge(): Argument #1 is not an array in /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/includes/ChangeHandler.php on line 316

Call Stack:
    0.0006     664520   1. {main}() /Library/WebServer/Documents/php-master/maintenance/runJobs.php:0
    0.0027    1205936   2. require_once('/Library/WebServer/Documents/php-master/maintenance/doMaintenance.php') /Library/WebServer/Documents/php-master/maintenance/runJobs.php:95
    0.2136   20696112   3. RunJobs->execute() /Library/WebServer/Documents/php-master/maintenance/doMaintenance.php:101
    0.2158   20836592   4. JobRunner->run() /Library/WebServer/Documents/php-master/maintenance/runJobs.php:80
    3.8204   37777960   5. Wikibase\ChangeNotificationJob->run() /Library/WebServer/Documents/php-master/includes/jobqueue/JobRunner.php:136
    6.0306   48152688   6. Wikibase\ChangeHandler->handleChanges() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/lib/includes/ChangeNotificationJob.php:128
    6.0307   48152688   7. Wikibase\ChangeHandler->coalesceChanges() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/includes/ChangeHandler.php:482
    9.2395   49951976   8. Wikibase\ChangeHandler->coalesceRuns() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/includes/ChangeHandler.php:433
   25.8039   50565448   9. Wikibase\ChangeHandler->mergeChanges() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/includes/ChangeHandler.php:405
   29.8169   53356896  10. array_merge() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/includes/ChangeHandler.php:316


Catchable fatal error: Argument 1 passed to Wikibase\EntityChange::setMetadata() must be an array, null given, called in /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/includes/ChangeHandler.php on line 316 and defined in /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/lib/includes/changes/EntityChange.php on line 146

Call Stack:
    0.0006     664520   1. {main}() /Library/WebServer/Documents/php-master/maintenance/runJobs.php:0
    0.0027    1205936   2. require_once('/Library/WebServer/Documents/php-master/maintenance/doMaintenance.php') /Library/WebServer/Documents/php-master/maintenance/runJobs.php:95
    0.2136   20696112   3. RunJobs->execute() /Library/WebServer/Documents/php-master/maintenance/doMaintenance.php:101
    0.2158   20836592   4. JobRunner->run() /Library/WebServer/Documents/php-master/maintenance/runJobs.php:80
    3.8204   37777960   5. Wikibase\ChangeNotificationJob->run() /Library/WebServer/Documents/php-master/includes/jobqueue/JobRunner.php:136
    6.0306   48152688   6. Wikibase\ChangeHandler->handleChanges() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/lib/includes/ChangeNotificationJob.php:128
    6.0307   48152688   7. Wikibase\ChangeHandler->coalesceChanges() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/includes/ChangeHandler.php:482
    9.2395   49951976   8. Wikibase\ChangeHandler->coalesceRuns() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/includes/ChangeHandler.php:433
   25.8039   50565448   9. Wikibase\ChangeHandler->mergeChanges() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/includes/ChangeHandler.php:405
   29.8173   53358080  10. Wikibase\EntityChange->setMetadata() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/includes/ChangeHandler.php:316
Comment 1 Aude 2014-10-22 15:53:31 UTC
now i get....

Fatal error: Call to undefined method Wikibase\DirectSqlStore::getItemUsageIndex() in /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/includes/ChangeHandler.php on line 136

Call Stack:
    0.0007     664328   1. {main}() /Library/WebServer/Documents/php-master/maintenance/runJobs.php:0
    0.0039    1205776   2. require_once('/Library/WebServer/Documents/php-master/maintenance/doMaintenance.php') /Library/WebServer/Documents/php-master/maintenance/runJobs.php:95
    0.2102   20733736   3. RunJobs->execute() /Library/WebServer/Documents/php-master/maintenance/doMaintenance.php:101
    0.2133   20874216   4. JobRunner->run() /Library/WebServer/Documents/php-master/maintenance/runJobs.php:80
    0.4244   25596680   5. Wikibase\ChangeNotificationJob->run() /Library/WebServer/Documents/php-master/includes/jobqueue/JobRunner.php:136
    0.5458   28967600   6. Wikibase\ChangeHandler::singleton() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/lib/includes/ChangeNotificationJob.php:128
    0.5459   28968744   7. Wikibase\ChangeHandler->__construct() /Library/WebServer/Documents/php-master/extensions/WikidataBuild/extensions/Wikibase/client/includes/ChangeHandler.php:67
Comment 2 Gerrit Notification Bot 2014-10-22 16:10:50 UTC
Change 168095 had a related patch set uploaded by Aude:
Restore (still used) getItemUsageIndex in DirectSqlStore

https://gerrit.wikimedia.org/r/168095
Comment 3 Aude 2014-10-22 16:13:55 UTC
i think the issues i had in the first comment might be related to the version of wikibase + core I was using.  I also had some trouble saving items (some ORM-related db error in the changes table)

we need to verify that currently deployed wikibase is compatible with versions of core being deployed.
Comment 4 Gerrit Notification Bot 2014-10-22 16:59:04 UTC
Change 168095 merged by jenkins-bot:
Restore (still used) getItemUsageIndex in DirectSqlStore

https://gerrit.wikimedia.org/r/168095
Comment 5 Aude 2014-10-22 17:12:03 UTC
version was indeed the issue. there was a breaking change in wmf/1.25wmf4 core, but the corresponding deployed version of wikibase has been patched with the appropriate fix so not a problem.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links