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 created this task.Jan 9 2016, 2:57 PM
Florian updated the task description. (Show Details)
Florian raised the priority of this task from to High.
Florian claimed this task.
Florian added a project: MobileFrontend.
Florian added a subscriber: Florian.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 9 2016, 2:57 PM

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

Florian closed this task as Resolved.Jan 10 2016, 12:38 PM