Fatal error: Uncaught TypeError: Argument 2 passed to SelectQuery::fields() must be of the type array, null given, called in /var/www/html/includes/entity.inc on line 317 and defined in /var/www/html/includes/database/select.inc:1301 Stack trace: #0 /var/www/html/includes/entity.inc(317): SelectQuery->fields('base', NULL) #1 /var/www/html/sites/all/modules/contrib/entity/includes/entity.controller.inc(170): DrupalDefaultEntityController->buildQuery(Array, Array, false) #2 /var/www/html/sites/all/modules/contrib/entity/includes/entity.controller.inc(713): EntityAPIController->buildQuery(Array, Array, false) #3 /var/www/html/sites/all/modules/contrib/entity/includes/entity.controller.inc(186): EntityAPIControllerExportable->buildQuery(false, Array, false) #4 /var/www/html/sites/all/modules/contrib/entity/includes/entity.controller.inc(249): EntityAPIController->query(false, Array, false) #5 /var/www/html/sites/all/modules/contrib/entity/includes/entity.controller.inc(730): EntityAPIController->load(false, Array) #6 /var/www in /var/www/html/includes/database/select.inc on line 1301
in my settings:
$databases['default']['default'] = array (
'driver' => 'autoslave',
'master' => array('master', 'slave'),
'slave' => array('slave', 'master'),
'replication lag' => 1,
);
Comments