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 Medium.
01tonythomas updated the task description. (Show Details)
01tonythomas added a subscriber: 01tonythomas.
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 :(

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 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.