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 :)
Comment | File | Size | Author |
---|---|---|---|
e_all.patch | 703 bytes | Allie Micka | |
Comments
Comment #1
m3avrck CreditAttribution: m3avrck commentedPlease see this patch in process to clean up the rest of the Drupal warnings :) http://drupal.org/node/30800
Comment #2
moshe weitzman CreditAttribution: moshe weitzman commentedthanks allie ... feel free to commit small patches like this without posting here first.
Comment #3
(not verified) CreditAttribution: commented