1194 Table 'products' is marked as crashed and should be repaired
in:
[select count(p.products_id) as count from products p , products_to_categories p2c where p.products_status = 1 and p.products_id = p2c.products_id and p.parent_module='' and p.is_model = 1 and ( p2c.categories_id =200001078 or p2c.categories_id =200001079 or p2c.categories_id =200001620 or p2c.categories_id =200001621 or p2c.categories_id =200001623 or p2c.categories_id =200001627 or p2c.categories_id =200003560 or p2c.categories_id =200003586)]