Page MenuHomePhabricator

ErrorException from line 705 of /data/mediawiki/extensions/MobileFrontend/includes/MobileFrontend.hooks.php: PHP Warning: array_search() expects parameter 2 to be an array or collection
Closed, ResolvedPublic

Description

Only for third parties: If you do not have the WikidataPageBanner extension installed, you probably get this error in your error logs, when a user opens your wiki in beta mode:

ErrorException from line 705 of /data/mediawiki/extensions/MobileFrontend/includes/MobileFrontend.hooks.php: PHP Warning: array_search() expects parameter 2 to be an array or collection

That's not really cool ;)

found on droidwiki.de, using MediaWiki 1.27.0-wmf.9.

Event Timeline

Florian claimed this task.
Florian raised the priority of this task from to High.
Florian updated the task description. (Show Details)
Florian added a project: MobileFrontend.
Florian subscribed.

Change 263172 had a related patch set uploaded (by Florianschmidtwelzow):
Fix undefined index error, when WikidataPageBanner isn't installed

https://gerrit.wikimedia.org/r/263172

Change 263172 merged by jenkins-bot:
Fix undefined index error, when WikidataPageBanner isn't installed

https://gerrit.wikimedia.org/r/263172