the error showing up repeatedly in my php_error.log:
PHP Notice: Undefined index: q in /www/sites/all/modules/devel/performance/performance.module on line 133

the error comes if $_GET arrives at performance_shutdown with no element 'q'

suggestion
- if ($_GET['q']) {
+ if (isset($_GET['q']) && ($_GET['q'])) {

CommentFileSizeAuthor
#1 devel_missing_get_q.patch416 bytescraig_
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

craig_’s picture

FileSize
416 bytes

adding the patch that i have been using that clears this error in the log

kbahey’s picture

Status: Active » Fixed

Thanks for the patch.

This is now committed to 6.x-1.x-dev and 7.x-1.x-dev.

It will be in the tarballs in about 9 hours from now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.