Fatal error: Uncaught Exception: Error: MySQL server has gone away
Error No: 2006
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 = '7982' in /home/flanart3/public_html/system/library/db/mysqli.php:40 Stack trace: #0 /home/flanart3/public_html/system/storage/modification/system/library/db.php(29): DB\MySQLi->query('\n\t\t\tSELECT \n\t\t\t...', Array) #1 /home/flanart3/public_html/system/library/journal3/opencart/model.php(38): DB->query('\n\t\t\tSELECT \n\t\t\t...') #2 /home/flanart3/public_html/catalog/model/journal3/product.php(477): Journal3\Opencart\Model->dbQuery('\n\t\t\tSELECT \n\t\t\t...') #3 /home/flanart3/public_html/system/storage/modification/system/engine/loader.php(204): ModelJournal3Product->getProductsSold('7982') #4 /home/flanart3/public_html/system/engine/proxy.php(25): Loader->{closure}(Array, Array) #5 /home/flanart3/public_html/system/storage/modification/c in /home/flanart3/public_html/system/library/db/mysqli.php on line 40