When this module is enabled and PHP's error_reporting is set to E_ALL, the following errors appear above the query output:

Notice: Undefined variable: is_xml in /www/projects/drupal/modules/devel/devel.module on line 84
Notice: Undefined variable: sum in /www/projects/drupal/modules/devel/devel.module on line 94
Notice: Undefined variable: output in /www/projects/drupal/modules/devel/devel.module on line 98

This patch initializes those variables.

Additionally, the restore_error_handler() call sets uncovers a whole bunch of E_ALL issuse in common.inc, menu.inc, etc. That's not devel's fault, but it makes an E_ALL + devel site unusable. Of course, that fact obviates this patch, put please apply it anyway :)

CommentFileSizeAuthor
e_all.patch703 bytesallie micka

Comments

m3avrck’s picture

Please see this patch in process to clean up the rest of the Drupal warnings :) http://drupal.org/node/30800

moshe weitzman’s picture

Status: Needs review » Fixed

thanks allie ... feel free to commit small patches like this without posting here first.

Anonymous’s picture

Status: Fixed » Closed (fixed)