Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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'])) {
Comment | File | Size | Author |
---|---|---|---|
#1 | devel_missing_get_q.patch | 416 bytes | craig_ |
Comments
Comment #1
craig_ CreditAttribution: craig_ commentedadding the patch that i have been using that clears this error in the log
Comment #2
kbahey CreditAttribution: kbahey commentedThanks 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.