Page MenuHomePhabricator

Undefined index: enotifminoredits in /var/www/core/core/includes/GlobalFunctions.php on line 330
Closed, ResolvedPublic

Description

Getting this notice

Notice: Undefined index: enotifminoredits in /var/www/core/core/includes/GlobalFunctions.php on line 330

on turning error reporting on setting

error_reporting( -1 );
ini_set( 'display_errors', 1 );

Event Timeline

01tonythomas raised the priority of this task from to Normal.
01tonythomas updated the task description. (Show Details)
01tonythomas added a subscriber: 01tonythomas.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 17 2015, 7:14 AM
Umherirrender added a subscriber: Umherirrender.

wfArrayInsertAfter where this line is located is not called in core

enotifminoredits in combination with wfArrayInsertAfter is found in translate. Have you Translate extension installed?

Looks like I dont have it installed :(

https://github.com/search?l=php&q=org%3Awikimedia+enotifminoredits&type=Code is not very enlightening. Local grep shows that Translate is triggering this.

Change 287194 had a related patch set uploaded (by Nikerabbit):
Do not rely on core preferences

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

Change 287194 merged by jenkins-bot:
Do not rely on core preferences

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

Nikerabbit closed this task as Resolved.May 16 2016, 6:47 AM
Nikerabbit claimed this task.

I don't know if this was the only cause. Given the original report is quite old, please re-open or file a new bug if still observed.