Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />
SELECT
DISTINCT r.*,
pd.name,
p.image,
p.product_id
FROM oc_review r
LEFT JOIN oc_product p
ON (r.product_id = p.product_id)
LEFT JOIN oc_product_description pd
ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s
ON (p.product_id = p2s.product_id)
WHERE
p2s.store_id = '0'
AND p.date_available <= NOW()
AND p.status = '1'
AND r.status = '1'
AND pd.language_id = '3'
ORDER BY IF (p.product_id IN ( SELECT p2c.product_id FROM oc_product_to_category p2c WHERE p2c.category_id IN ( SELECT cp.category_id FROM oc_category_path cp WHERE cp.path_id = 199)), 1, 0) DESC,r.date_added DESC
LIMIT
0,4 in /home/gtmlhkvt/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/gtmlhkvt/public_html/storage/modification/system/library/db.php(47): DB\MySQLi->query('\n\t\t\tSELECT \n\t\t\t...')
#1 /home/gtmlhkvt/public_html/catalog/mod in /home/gtmlhkvt/public_html/system/library/db/mysqli.php on line 40
Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />REPLACE INTO `oc_session` SET session_id = '94e0c6384338ac80222f9734ca', `data` = '{\"language\":\"uk-ua\",\"currency\":\"UAH\"}', expire = '2025-04-02 02:07:14' in /home/gtmlhkvt/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/gtmlhkvt/public_html/storage/modification/system/library/db.php(47): DB\MySQLi->query('REPLACE INTO `o...')
#1 /home/gtmlhkvt/public_html/storage/modification/system/library/session/db.php(34): DB->query('REPLACE INTO `o...')
#2 /home/gtmlhkvt/public_html/storage/modification/system/library/session.php(83): Session\DB->write('94e0c6384338ac8...', Array)
#3 [internal function]: Session->close()
#4 {main}
thrown in /home/gtmlhkvt/public_html/system/library/db/mysqli.php on line 40