Download & Extend

Getting "PHP Notice: Undefined variable: _GLOBALS" Error

Project:Drupal For Firebug
Version:6.x-1.3
Component:Firefox Extension
Category:bug report
Priority:normal
Assigned:beejeebus
Status:closed (fixed)

Issue Summary

I'm getting the following error when browsing thru the website for anonymous and authenticated users (Administrators don't get the error).
PHP Notice: Undefined variable: _GLOBALS in D:\Sites\janjou\sites\all\modules\drupalforfirebug\drupalforfirebug.module on line 257

I've verified the permissions for the module and the following setting are checked for all roles (anonymous, authenticated and admins)
Access Firebug Debug
Execute Firebug PHP

On initial visit to a page it comes up without a problem, it's only with a second visit the issue comes up.
Can be tested at:
http://janjou.msimantov.com

Comments

#1

Assigned to:Anonymous» beejeebus
Status:active» needs review

yep, i'm seeing this as well. here's the trivial patch against the 6.x-1 branch.

AttachmentSize
globals.typo_.patch 610 bytes

#2

Status:needs review» reviewed & tested by the community

That's it, thanks!

#3

Status:reviewed & tested by the community» fixed

Fabulous. Committed.

#4

Status:fixed» closed (fixed)

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