Time: 19.01.2021 14:38:56 Message: Table 'bm_category' is marked as crashed and should be repaired Query: SELECT t2.`brend_id` AS ARRAY_KEY_1, NULL AS ARRAY_KEY_2, t1.`group_id` FROM bm_products_category t1 JOIN bm_products t2 ON t1.`group_id` = t2.`product_id` JOIN bm_category t3 ON t1.`category_id` = t3.`ID` JOIN bm_category t4 ON t3.`ParentID` = t4.`ID` WHERE t2.`product_visible` = 2 AND t2.`archived` != 2 AND t3.`Visible` = 2 AND t4.`Visible` = 2 GROUP BY t2.`brend_id`, t1.`group_id` Context: /var/www/bymobile/data/www/bymobile.ru/_admincp/_classes/_functions.php line 1568