Warning: mysqli::query(): (HY000/2006): MySQL server has gone away in /home2/tomsmag/storage-toms/modification/system/library/db/mysqli.php on line 28
Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />
SELECT
p.product_id
FROM `sw_product` p
LEFT JOIN `sw_product_to_store` p2s ON (p.product_id = p2s.product_id)
WHERE
p.product_id IN (15201, 29337, 4405, 25405, 19039, 15251, 2175, 20601, 15524, 25065, 15467, 26014, 29797, 28420, 1454, 3841, 15236, 21759, 16424, 17148)
AND p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
in /home2/tomsmag/storage-toms/modification/system/library/db/mysqli.php:52
Stack trace:
#0 /home2/tomsmag/storage-toms/modification/system/library/db.php(55): DB\MySQLi->query('\n\t\t\tSELECT\n\t\t\t\t...')
#1 /home2/tomsmag/storage-toms/modification/catalog/model/journal3/product.php(505): DB->query('\n\t\t\tSELECT\n\t\t\t\t...')
#2 /home2/tomsmag/storage-toms/modification/system/engine/loader.php(248): ModelJournal3Product->getRecentlyViewedProducts('8')
#3 /home2/tomsmag/public_html/system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#4 /home2/tom in /home2/tomsmag/storage-toms/modification/system/library/db/mysqli.php on line 52
Warning: mysqli::query(): (HY000/2006): MySQL server has gone away in /home2/tomsmag/storage-toms/modification/system/library/db/mysqli.php on line 28
Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />REPLACE INTO `sw_session` SET `session_id` = '5c240abfbd985e5fb28ca6ab21', `data` = '{\"language\":\"ro-ro\",\"currency\":\"RON\",\"jrv\":[15201,29337,4405,25405,19039,15251,2175,20601,15524,25065,15467,26014,29797,28420,1454,3841,15236,21759,16424,17148]}', `expire` = '2026-09-11 07:40:44' in /home2/tomsmag/storage-toms/modification/system/library/db/mysqli.php:52
Stack trace:
#0 /home2/tomsmag/storage-toms/modification/system/library/db.php(55): DB\MySQLi->query('REPLACE INTO `s...')
#1 /home2/tomsmag/public_html/system/library/session/db.php(28): DB->query('REPLACE INTO `s...')
#2 /home2/tomsmag/public_html/system/library/session.php(81): Session\DB->write('5c240abfbd985e5...', Array)
#3 [internal function]: Session->close()
#4 {main}
thrown in /home2/tomsmag/storage-toms/modification/system/library/db/mysqli.php on line 52