The attached patch removes some of the E_NOTICE messages that appear especially during the installation of Drupal. Note that this patch does not remove all of them.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drumm’s picture

Status: Reviewed & tested by the community » Needs work

Partially committed to HEAD.

I'm concerned about the form.inc changes having unintended side effects. Please look over and explain why the changes are correct.

In the future, please post patches to remove notices to at least one separate issue for each file changed to allow space for review.

lyricnz’s picture

FileSize
766 bytes

Patch warning about Undefined index in includes/module.inc.

lyricnz’s picture

FileSize
1.07 KB

Patch warnings about Undefined index in includes/common.inc

lyricnz’s picture

FileSize
1.22 KB

Patch warnings about Undefined index in modules/system/system.module

lyricnz’s picture

FileSize
761 bytes

Patch warnings about Undefined index in themes/engines/phptemplate/phptemplate.engine

lyricnz’s picture

Title: Fix some of the E_NOTICE messages » Previous patch was broken - includes/common.inc
FileSize
1.07 KB

Updated patch for includes/common.inc

lyricnz’s picture

Title: Previous patch was broken - includes/common.inc » Fix some of the E_NOTICE messages

Per advice in #drupal, I'm going to resubmit these patches as individual issues. I guess you can ignore them here.

kkaefer’s picture

Status: Needs work » Closed (fixed)