Page MenuHomePhabricator

BagOStuff.php: PHP Warning: Parameter 4 to User::{closure}() expected to be a reference, value given
Open, Stalled, Needs TriagePublic

Description

This warning started happening after latest update to latest version of REL1_31 branch, so I expect it is caused by some of the recent backports.

2020-10-14 12:06:15 sanat2.csc.fi kielipankki_nadigi_m: [X4bptxGy-jxn4SHvjnEgEAAAAAA] /w/index.php?title=K%C3%A4ytt%C3%A4j%C3%A4:FrankTang814689&action=submit   ErrorException from line 306 of /data/srv/mediawiki/tags/2020-10-09_09:08:56/includes/libs/objectcache/BagOStuff.php: PHP Warning: Parameter 4 to User::{closure}() expected to be a reference, value given
#0 /data/srv/mediawiki/tags/2020-10-09_09:08:56/includes/libs/objectcache/BagOStuff.php(306): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /data/srv/mediawiki/tags/2020-10-09_09:08:56/includes/libs/objectcache/MemcachedBagOStuff.php(83): BagOStuff->mergeViaCas(string, Closure, integer, integer)
#2 /data/srv/mediawiki/tags/2020-10-09_09:08:56/includes/user/User.php(2286): MemcachedBagOStuff->merge(string, Closure)
#3 /data/srv/mediawiki/tags/2020-10-09_09:08:56/includes/EditPage.php(1952): User->pingLimiter(string, integer)
#4 /data/srv/mediawiki/tags/2020-10-09_09:08:56/includes/EditPage.php(1506): EditPage->internalAttemptSave(NULL, boolean)
#5 /data/srv/mediawiki/tags/2020-10-09_09:08:56/includes/EditPage.php(652): EditPage->attemptSave(NULL)
#6 /data/srv/mediawiki/tags/2020-10-09_09:08:56/includes/actions/EditAction.php(60): EditPage->edit()
#7 /data/srv/mediawiki/tags/2020-10-09_09:08:56/includes/actions/SubmitAction.php(38): EditAction->show()
#8 /data/srv/mediawiki/tags/2020-10-09_09:08:56/includes/MediaWiki.php(500): SubmitAction->show()
#9 /data/srv/mediawiki/tags/2020-10-09_09:08:56/includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title)
#10 /data/srv/mediawiki/tags/2020-10-09_09:08:56/includes/MediaWiki.php(818): MediaWiki->performRequest()
#11 /data/srv/mediawiki/tags/2020-10-09_09:08:56/includes/MediaWiki.php(524): MediaWiki->main()
#12 /data/srv/mediawiki/tags/2020-10-09_09:08:56/index.php(42): MediaWiki->run()
#13 {main}
`