Notice: Undefined index: view modes in /var/www/html/sites/all/modules/contrib/entity/entity.rules.inc on line 51

Notice: Undefined index: schema_fields_sql in /var/www/html/includes/entity.inc on line 298

Catchable fatal error: 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 on line 1316