Posted by c960657 on October 7, 2009 at 9:58am
Jump to:
| Project: | Drupal For Firebug |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
Great suggestion. Included.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.