Fatal error: Uncaught Exception: Error: Table 'product' is marked as crashed and should be repaired<br />Error No: 1194<br />SELECT p2c.category_id, cd.name, c.parent_id, COUNT(DISTINCT p2c.product_id) AS total FROM product_to_category p2c LEFT JOIN category c ON (p2c.category_id = c.category_id) LEFT JOIN category_description cd ON (p2c.category_id = cd.category_id AND cd.language_id = '2') WHERE c.status = '1' AND c.parent_id = '295' AND p2c.product_id IN ( SELECT p.product_id FROM product p LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id AND p2s.store_id = '0') WHERE p.product_id = p2c.product_id AND p.status = '1' AND p.product_status_id NOT IN (8) AND p.date_available <= NOW() AND (p.price BETWEEN 1 AND 40000)) GROUP BY p2c.category_id ORDER BY c.parent_id, c.sort_order in /home/classicg/domains/classic-gameshop.com/public_html/system/storage/modification/system/library/db/mysqli.php:53
Stack trace:
#0 /home/classicg/domains/classic-gameshop.com/public_html/system/library/db.php(20): DB\MySQLi->query in /home/classicg/domains/classic-gameshop.com/public_html/system/storage/modification/system/library/db/mysqli.php on line 53