SQLSTATE[42S02]: Base table or view not found: 1146 Table 'lonestar_mage2.catalog_category_flat_store_1' doesn't exist, query was: SELECT `catalog_category_flat_store_1`.`entity_id` FROM `catalog_category_flat_store_1` WHERE (path LIKE '1/2/85/102/195/%') AND (level <= 5) AND (is_active = '1')