PHP errors when both Theme Developer and Drupal For Firebug are enabled

ghing - July 27, 2009 - 22:02
Project:Drupal For Firebug
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:developer module php error
Description

I see the following errors when both the Drupal for Firebug and the Theme Developer modules are enabled:

    * warning: array_fill() [function.array-fill]: Number of elements must be positive in /usr/local/apache/htdocs/includes/database.inc on line 241.
    * warning: implode() [function.implode]: Invalid arguments passed in /usr/local/apache/htdocs/includes/database.inc on line 241.
    * warning: array_keys() [function.array-keys]: The first argument should be an array in /usr/local/apache/htdocs/modules/user/user.module on line 502.
    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /usr/local/apache/htdocs/modules/user/user.module on line 502.

 
 

Drupal is a registered trademark of Dries Buytaert.