Fatal error: 'Error: Table 'pro_order_product' is marked as crashed and should be repaired
Error No: 1194
SELECT op.product_id, SUM(op.quantity) AS total FROM pro_order_product op LEFT JOIN `pro_order` o ON (op.order_id = o.order_id) LEFT JOIN `pro_product` p ON (op.product_id = p.product_id) LEFT JOIN pro_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE o.order_status_id > '0' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' GROUP BY op.product_id ORDER BY total DESC LIMIT 20
'
in /home/dcbb/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 system/storage/modification/system/library/db.php(30): DB\MySQLi->query('SELECT op.produ...', Array)
#1 system/storage/modification/catalog/model/catalog/product.php(302): DB->query('SELECT op.produ...')
#2 system/storage/modification/system/engine/loader.php(200): ModelCatalogProduct->getBestSellerProducts('20')
#3 system/engine/proxy.php(25): Loader->{closure}(Array, Array)
#4 system/storage/modification/catalog/controller/extension/module/bestseller.php(31): Proxy->__call('getBestSellerPr...', Array)
#5 system/storage/modification/system/engine/action.php(51): ControllerExtensionModuleBestSeller->index(Array)
#6 system/storage/modification/system/engine/loader.php(46): Action->execute(Object(Registry), Array)
#7 catalog/controller/common/content_bottom.php(63): Loader->controller('extension/modul...', Array)
#8 system/storage/modification/system/engine/action.php(51): ControllerCommonContentBottom->index(Array)
#9 system/storage/modification/system/engine/loader.php(46): Action->execute(Object(Registry), Array)
#10 system/storage/modification/catalog/controller/product/product.php(513): Loader->controller('common/content_...')
#11 system/storage/modification/system/engine/action.php(51): ControllerProductProduct->index()
#12 catalog/controller/startup/router.php(25): Action->execute(Object(Registry))
#13 system/storage/modification/system/engine/action.php(51): ControllerStartupRouter->index()
#14 system/storage/modification/system/engine/front.php(37): Action->execute(Object(Registry))
#15 system/storage/modification/system/engine/front.php(32): Front->execute(Object(Action))
#16 system/framework.php(103): Front->dispatch(Object(Action), Object(Action))
#17 system/startup.php(124): require_once('/home/dcbb/publ...')
#18 index.php(19): start('catalog')
#19 {main}