Page MenuHomePhabricator

[ErrorHandler] PHP Notice: Undefined index: en in extensions/ErrorHandler/ErrorHandler.php on line 223
Closed, ResolvedPublic


PHP Notice: Undefined index: en in /srv/vagrant/mediawiki/extensions/ErrorHandler/ErrorHandler.php on line 223
PHP Stack trace:

PHP   1. {main}() /srv/vagrant/mediawiki/maintenance/update.php:0
PHP   2. require_once() /srv/vagrant/mediawiki/maintenance/update.php:206
PHP   3. require() /srv/vagrant/mediawiki/maintenance/doMaintenance.php:81
PHP   4. include_once() /srv/vagrant/mediawiki/LocalSettings.php:126
PHP   5. include_once() /srv/vagrant/LocalSettings.php:113
PHP   6. include_once() /srv/vagrant/settings.d/40-OtherExtensions.php:413
PHP   7. efErrorHandler() /srv/vagrant/settings.d/40-OtherExtensions.php:46
PHP   8. efErrorGetText() /srv/vagrant/mediawiki/extensions/ErrorHandler/ErrorHandler.php:183
PHP   9. call_user_func_array() /srv/vagrant/mediawiki/extensions/ErrorHandler/ErrorHandler.php:250
PHP  10. efErrorHandlerGetMessage() /srv/vagrant/mediawiki/extensions/ErrorHandler/ErrorHandler.php:250

Version: master
Severity: normal

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 3:42 AM
bzimport set Reference to bz68701.
bzimport added a subscriber: Unknown Object (MLST).

Probably the problem is that the code assumes the .i18n.php file exists *and* defines an array containing all the messages, while we switched to JSON.

Change 266070 had a related patch set uploaded (by PranavK):
Fix Undefined Index error

Pranavmk98 added a subscriber: Pranavmk98.

I have uploaded the necessary patch above ^

Change 266070 merged by jenkins-bot:
Read messages from JSON file