I got this errror when i was trying to create view.Entity Field Querry:Field collection item
Fatal error: Call to a member function getTables() on a non-object in /hsphere/local/home/........../sites/all/modules/maestro/maestro.views.inc on line 970

Comments

bennos’s picture

get the same error in conjunction with the search api DB module.

gushil’s picture

Somehow, I managed to supress the error by adding this code to function maestro_views_pre_execute

function maestro_views_pre_execute(&$view) {
if (in_array($view->name, array('maestro_exposed', 'maestro_variable_value_filter', 'Maestro Task Process Variables')))
{
    $query = $view->build_info['query'];
    ...
}
}

Hope it can help