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 =518 or p2c.categories_id =623 or p2c.categories_id =636 or p2c.categories_id =4407 or p2c.categories_id =4408 or p2c.categories_id =4409 or p2c.categories_id =4410 or p2c.categories_id =63705 or p2c.categories_id =63708 or p2c.categories_id =152408 or p2c.categories_id =380210 or p2c.categories_id =380220 or p2c.categories_id =380240 or p2c.categories_id =380260 or p2c.categories_id =100000344 or p2c.categories_id =100000432 or p2c.categories_id =100000433 or p2c.categories_id =100007864 or p2c.categories_id =200001603 or p2c.categories_id =200001619 or p2c.categories_id =200001706 or p2c.categories_id =14190401 or p2c.categories_id =100000356 or p2c.categories_id =200001709 or p2c.categories_id =200001926 or p2c.categories_id =200002089 or p2c.categories_id =200002224 or p2c.categories_id =200003587)]