Error: Error: MySQL server has gone away
Error No: 2006
SELECT * FROM `oc_extension` WHERE `type` = 'analytics'
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/setting/extension.php
Line: 44
Class: Opencart\System\Library\DB
Function: query
Backtrace: 2
File: /var/www/html/system/engine/loader.php
Line: 343
Class: Opencart\Catalog\Model\Setting\Extension
Function: getExtensionsByType
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/common/header.php
Line: 24
Class: Opencart\System\Engine\Proxy
Function: __call
Backtrace: 5
File: /var/www/html/system/engine/loader.php
Line: 112
Class: Opencart\Catalog\Controller\Common\Header
Function: index
Backtrace: 6
File: /var/www/html/catalog/controller/product/product.php
Line: 489
Class: Opencart\System\Engine\Loader
Function: controller
Backtrace: 7
File: /var/www/html/system/engine/action.php
Line: 96
Class: Opencart\Catalog\Controller\Product\Product
Function: index
Backtrace: 8
File: /var/www/html/system/framework.php
Line: 259
Class: Opencart\System\Engine\Action
Function: execute
Backtrace: 9
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` = '8e15a424561f416183556213dd', `data` = '{\"currency\":\"AZN\",\"jrv\":[27578,42187,114647,50631,150315,162665,42440,101114,59673,47275,16907,117228,160687,117141,15440,59641,175740,60019,56214,130585],\"review_token\":\"b8ae4ea6d8c338bf9268b3a677986e9a\",\"api_id\":\"journal3_popup_dfff44e41f\",\"upload_token\":\"67d5eee14e2b6e91141de4953046ba17\"}', `expire` = '2025-11-30 10:22:54' 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('8e15a424561f416...', Array)
#3 [internal function]: Opencart\System\Library\Session->close()
#4 {main}
thrown in /var/www/html/system/library/db/mysqli.php on line 122