Page MenuHomePhabricator

Hook SMWParseData::onTitleMoveComplete has invalid call signature; Parameter 3 to SMWParseData::onTitleMoveComplete() expected to be a reference, value given
Closed, DuplicatePublic

Description

while trying to move a page:

2015-11-14 18:50:57 silver labswiki exception ERROR: [0e00fe2a] /w/index.php?title=Special:MovePage&action=submit   MWException from line 220 of /srv/mediawiki/php-1.27.0-wmf.6/includes/Hooks.php: Detected bug in an extension! Hook SMWParseData::onTitleMoveComplete has invalid call signature; Parameter 3 to SMWParseData::onTitleMoveComplete() expected to be a reference, value given {"exception_id":"0e00fe2a"} 
[Exception MWException] (/srv/mediawiki/php-1.27.0-wmf.6/includes/Hooks.php:220) Detected bug in an extension! Hook SMWParseData::onTitleMoveComplete has invalid call signature; Parameter 3 to SMWParseData::onTitleMoveComplete() expected to be a reference, value given
  #0 /srv/mediawiki/php-1.27.0-wmf.6/includes/MovePage.php(376): Hooks::run(string, array)
  #1 [internal function]: MovePage->{closure}()
  #2 /srv/mediawiki/php-1.27.0-wmf.6/includes/db/Database.php(3310): call_user_func(Closure)
  #3 /srv/mediawiki/php-1.27.0-wmf.6/includes/db/Database.php(3557): DatabaseBase->runOnTransactionIdleCallbacks()
  #4 /srv/mediawiki/php-1.27.0-wmf.6/includes/db/loadbalancer/LoadBalancer.php(1056): DatabaseBase->commit(string, string)
  #5 [internal function]: LoadBalancer->commitMasterChanges()
  #6 /srv/mediawiki/php-1.27.0-wmf.6/includes/db/loadbalancer/LBFactory.php(186): call_user_func_array(array, array)
  #7 [internal function]: LBFactory->{closure}(LoadBalancer, string, array)
  #8 /srv/mediawiki/php-1.27.0-wmf.6/includes/db/loadbalancer/LBFactoryMulti.php(397): call_user_func_array(Closure, array)
  #9 /srv/mediawiki/php-1.27.0-wmf.6/includes/db/loadbalancer/LBFactory.php(187): LBFactoryMulti->forEachLB(Closure, array)
  #10 /srv/mediawiki/php-1.27.0-wmf.6/includes/db/loadbalancer/LBFactory.php(204): LBFactory->forEachLBCallMethod(string)
  #11 /srv/mediawiki/php-1.27.0-wmf.6/includes/MediaWiki.php(533): LBFactory->commitMasterChanges()
  #12 /srv/mediawiki/php-1.27.0-wmf.6/includes/MediaWiki.php(709): MediaWiki->doPreOutputCommit()
  #13 /srv/mediawiki/php-1.27.0-wmf.6/includes/MediaWiki.php(506): MediaWiki->main()
  #14 /srv/mediawiki/php-1.27.0-wmf.6/index.php(41): MediaWiki->run()
  #15 /srv/mediawiki/w/index.php(3): require(string)
  #16 {main}

Event Timeline

Legoktm raised the priority of this task from to Needs Triage.
Legoktm updated the task description. (Show Details)
Legoktm added subscribers: Legoktm, aaron, EBernhardson.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript

Removing the & from SMWParseData::onTitleMoveComplete is probably the simplest fix, since it's not needed anyway.

chasemp subscribed.