Closed (fixed)
Project:
Drupal For Firebug
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2009 at 09:58 UTC
Updated:
7 Feb 2010 at 23:30 UTC
On http://localhost/dta/admin/content/taxonomy/1 I get the following error:
warning: preg_match() expects parameter 2 to be string, resource given in /home/chsc/www/drupal6/includes/bootstrap.inc on line 777.
The problem is that the $form array contains a MySQL resource. Adding something like this in drupalforfirebug_array_row_build() solves the problem:
elseif (is_resource($value)) {
$output .= "<div>$spacing $color [$key] => resource $colorend </div>";
}
Comments
Comment #1
populist commentedGreat suggestion. Included.