Error: Error: MySQL server has gone away
Error No: 2006
SELECT * FROM oc_product_discount ps
WHERE ps.customer_group_id = '1'
AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW())
AND ps.date_end != '0000-00-00' AND ps.date_end > NOW())
AND ps.special = 1
AND product_id IN (138916)
GROUP BY ps.product_id ORDER BY ps.priority ASC, ps.price ASC
File: /var/www/html/system/library/db/mysqli.php
Line: 122
Backtrace: 0
File: /var/www/html/system/library/db.php
Line: 63
Class: Opencart\System\Library\DB\MySQLi
Function: query
Backtrace: 1
File: /var/www/html/catalog/model/journal3/product.php
Line: 114
Class: Opencart\System\Library\DB
Function: query
Backtrace: 2
File: /var/www/html/system/engine/loader.php
Line: 343
Class: ModelJournal3Product
Function: getProduct
Backtrace: 3
File: /var/www/html/system/engine/proxy.php
Line: 87
Class: Opencart\System\Engine\Loader
Function: Opencart\System\Engine\{closure}
Backtrace: 4
File: /var/www/html/catalog/controller/journal3/event/products.php
Line: 252
Class: Opencart\System\Engine\Proxy
Function: __call
Backtrace: 5
File: /var/www/html/system/engine/action.php
Line: 96
Class: ControllerJournal3EventProducts
Function: view_product_thumb_after
Backtrace: 6
File: /var/www/html/system/engine/event.php
Line: 72
Class: Opencart\System\Engine\Action
Function: execute
Backtrace: 7
File: /var/www/html/system/engine/loader.php
Line: 191
Class: Opencart\System\Engine\Event
Function: trigger
Backtrace: 8
File: /var/www/html/catalog/controller/product/thumb.php
Line: 41
Class: Opencart\System\Engine\Loader
Function: view
Backtrace: 9
File: /var/www/html/system/engine/loader.php
Line: 112
Class: Opencart\Catalog\Controller\Product\Thumb
Function: index
Backtrace: 10
File: /var/www/html/catalog/controller/product/related.php
Line: 70
Class: Opencart\System\Engine\Loader
Function: controller
Backtrace: 11
File: /var/www/html/system/engine/loader.php
Line: 112
Class: Opencart\Catalog\Controller\Product\Related
Function: index
Backtrace: 12
File: /var/www/html/catalog/controller/product/product.php
Line: 463
Class: Opencart\System\Engine\Loader
Function: controller
Backtrace: 13
File: /var/www/html/system/engine/action.php
Line: 96
Class: Opencart\Catalog\Controller\Product\Product
Function: index
Backtrace: 14
File: /var/www/html/system/framework.php
Line: 259
Class: Opencart\System\Engine\Action
Function: execute
Backtrace: 15
File: /var/www/html/index.php
Line: 20
Function: require_once
Fatal error: Uncaught Exception: Error: MySQL server has gone away<br/>Error No: 2006<br/>REPLACE INTO `oc_session` SET `session_id` = '8f0c28e46ef9c90bf727b85d41', `data` = '{\"currency\":\"AZN\",\"jrv\":[139372,172664,160019,79541,78766,56613,32487,62273,83940,151674,11514,89170,115144,54613,163216,160625,164522,117728,21076,75221],\"review_token\":\"f3213b5cb2ac027b7d4aa13dd21b7707\",\"api_id\":\"journal3_popup_b007e3a77f\",\"upload_token\":\"34ce7c174b4163333aa31bb5d3d59506\"}', `expire` = '2025-12-01 19:55:15' in /var/www/html/system/library/db/mysqli.php:122
Stack trace:
#0 /var/www/html/system/library/db.php(63): Opencart\System\Library\DB\MySQLi->query('REPLACE INTO `o...')
#1 /var/www/html/system/library/session/db.php(63): Opencart\System\Library\DB->query('REPLACE INTO `o...')
#2 /var/www/html/system/library/session.php(89): Opencart\System\Library\Session\DB->write('8f0c28e46ef9c90...', Array)
#3 [internal function]: Opencart\System\Library\Session->close()
#4 {main}
thrown in /var/www/html/system/library/db/mysqli.php on line 122