Received page of notices and warnings with this error at the bottom of the page when trying to update from alpha1 to alpha2:

Catchable fatal error: Argument 2 passed to SelectQuery::fields() must be an array, null given, called in /home/(username)/public_html_dev/includes/entity.inc on line 284 and defined in /home/(username)/public_html_dev/includes/database/select.inc on line 1261

These lines preceded the error:

Notice: Undefined index: bundles in /home/(username)/public_html_dev/modules/field/field.info.inc on line 576
Warning: Invalid argument supplied for foreach() in /home/(username)/public_html_dev/modules/field/field.info.inc on line 215
Notice: Undefined index: bundles in /home/(username)/public_html_dev/sites/all/modules/media/file_entity/file_entity.module on line 144
Warning: array_keys() expects parameter 1 to be array, null given in /home/(username)/public_html_dev/sites/all/modules/media/file_entity/file_entity.module on line 144
Warning: Invalid argument supplied for foreach() in /home/(username)/public_html_dev/sites/all/modules/media/file_entity/file_entity.module on line 144
Notice: Undefined index: schema_fields_sql in /home/(username)/public_html_dev/includes/entity.inc on line 265

Same result even if I disable entity module and then try to update again.

Anyone else getting this ??

Comments

pavlosdan’s picture

Getting the same error as well, though initially I thought it had to do with the Field Collection module but it seems not. Issue post can be found here: http://drupal.org/node/1259458

For me this happens whenever I try to clear all caches while I am viewing a node.

claudiu.cristea’s picture

Status:Active» Closed (duplicate)