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.
Using Drupal For Firebug 6.x-1.x-dev
Firebug 1.12.1
DrupalForFirebug 2.2
I bring up the Firebug Panel, and click on the Drupal tab
If I click on the Drupal sub-tabs, General, SQL, Forms.. an error appears in the Error console (not the firebug one, the Firefox one found with Control-Shift-J)
Each time I click a tab it reports
"TypeError: content is null"
"chrome://drupalforfirebug/content/objects/connector.js"
// get the currently requested content
var drupalFirebugContent = content.document.getElementById('drupalforfirebug_' + filterCategory).cloneNode(true);
//hidden = drupalFirebugContent.getElementsByClassName("content");
// remove the style="hidded" from the .content elements.
//for(var i = 0; i < hidden.length; i++) {
// hidden[i].removeAttribute("style");
//}
The drupalforfirebug_* content exists - It works in Chrome - I am able to see the DrupalForFirebug icon and access the reports.
Comments
Comment #1
frobI am getting the same thing. I really need to clean up that code.
Comment #2
frobSo I finally got around to fixing this notice. I moved the source from bitbucket to github.
https://github.com/frob/drupalforfirebug
I also refactored the project layout so that I could use grunt to build it. It seems to be working well.
I have another bug to get to but then I will issue a new release. Mozilla usually takes a while to publish the new releases though.