Page MenuHomePhabricator

PHP Notice: Array to string conversion in /srv/mediawiki/w/includes/libs/objectcache/BagOStuff.php on line 741
Closed, InvalidPublic

Description

Hi, i am using mediawiki 1.31 and php7.2 and am seeing these notices in the logs

"PHP Notice: Array to string conversion in /srv/mediawiki/w/includes/libs/objectcache/BagOStuff.php on line 741"

this is also shown on mediawiki 1.30 and php 7.0.

Event Timeline

i am using mediawiki 1.31 and php7.2
this is shown on mediawiki 1.30 and php 7.0.

Did you miss a "not" or an "also" or some other word in the second sentence?

i am using mediawiki 1.31 and php7.2
this is shown on mediawiki 1.30 and php 7.0.

Did you miss a "not" or an "also" or some other word in the second sentence?

Yep. Thanks.

Vvjjkkii renamed this task from PHP Notice: Array to string conversion in /srv/mediawiki/w/includes/libs/objectcache/BagOStuff.php on line 741 to enbaaaaaaa.Jul 1 2018, 1:05 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from enbaaaaaaa to PHP Notice: Array to string conversion in /srv/mediawiki/w/includes/libs/objectcache/BagOStuff.php on line 741.Jul 1 2018, 9:56 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.
Krinkle changed the task status from Open to Stalled.Jul 28 2018, 7:18 PM
Krinkle subscribed.

Untagging from MediaWiki-Cache, this error indicates a problem with code that uses BagOStuff. It is not a problem with BagOStuff.

Untagging PHP 7.0 support, this error is deterministic and caused by a problem in the code - would happen on all versions of PHP.

@Paladox Without steps to reproduce it or a stack trace, this cannot be addressed.

I found where are problem was, caused by a configuration error.

Aklapper changed the task status from Declined to Invalid.Jul 29 2018, 9:45 AM