Page MenuHomePhabricator

PHP Warning: Invalid operand type was used: array_key_exists expects an array or an object
Closed, InvalidPublic

Description

Dashboard link

messagecount
[{exception_id}] {exception_url} ErrorException from line 48 of /srv/mediawiki/php-1.31.0-wmf.23/extensions/MobileFrontend/includes/features/Feature.php: PHP Warning: Invalid operand type was used: array_key_exists expects an array or an object; false r47
Warning: Invalid operand type was used: array_key_exists expects an array or an object; false returned. in /srv/mediawiki/php-1.31.0-wmf.23/extensions/MobileFrontend/includes/features/Feature.php on line 4835

Event Timeline

Hey @pmiazga, please, can you have a look and do analysis? My guess is this is not impactful but it may be triggering some bad behavior with the implicit false returned. It would be good to know for triaging.

Jdlrobson closed this task as Invalid.EditedMar 12 2018, 3:17 PM
Jdlrobson subscribed.

I mentioned this in chores last week. These errors relate to a botched deploy I did when fixing wikidata descriptions for wikidata and other wikis (
T188182). You can see in the error details it relates to mwdebug1002 so not production.