Fatal error: Uncaught Exception: Error: Table './yankee23345/oc_order' is marked as crashed and last (automatic?) repair failed<br />Error No: 144<br />
SELECT
SUM(op.quantity) AS quantity
FROM `oc_order_product` op
LEFT JOIN `oc_order` o ON op.order_id = o.order_id
WHERE o.order_status_id <> 0 AND op.product_id = '16662'
in /data/web/yankeevone.sk/web/system/library/db/mysqli.php:40
Stack trace:
#0 /data/web/yankeevone.sk/web/storage/modification/system/library/db.php(58): DB\MySQLi->query('\n\t\t\tSELECT \n\t\t\t...')
#1 /data/web/yankeevone.sk/web/system/library/journal3/opencart/model.php(48): DB->query('\n\t\t\tSELECT \n\t\t\t...')
#2 /data/web/yankeevone.sk/web/storage/modification/catalog/model/journal3/product.php(469): Journal3\Opencart\Model->dbQuery('\n\t\t\tSELECT \n\t\t\t...')
#3 /data/web/yankeevone.sk/web/storage/modification/system/engine/loader.php(256): ModelJournal3Product->getProductsSold('16662')
#4 /data/web/yankeevone.sk/web/system/engine/proxy.php(47): Loader->{closure}(Array in /data/web/yankeevone.sk/web/system/library/db/mysqli.php on line 40