It seems that rules is not following http://drupal.org/node/1313238; On a cache clear, the site throws this error, and completely fails until visiting another page.
Notice: Undefined index: schema_fields_sql in /home/*****/www/dev/includes/entity.inc on line 265
Catchable fatal error: Argument 2 passed to SelectQuery::fields() must be an array, null given, called in /home/*****/www/dev/includes/entity.inc on line 292 and defined in /home/*****/www/dev/includes/database/select.inc on line 1300
Seems like this would be a pretty big bug to fix.
Comments
Comment #1
ptmkenny commentedOut of the box, Rules can be installed and the Drupal cache can be cleared without trouble. If you want to re-open, please provide detailed steps about how to re-create this error from a stock installation of Drupal and Rules.
Comment #2
vensiresThis occurred to me when I installed in my website a Feature adding some rule components to the website. When I disabled and uninstalled that module/feature, it worked again. I asssume @ptmkenny is right.