Error: Error: MySQL server has gone away
Error No: 2006
SELECT * FROM `oc_category` `c` LEFT JOIN `oc_category_description` `cd` ON (`c`.`category_id` = `cd`.`category_id`) LEFT JOIN `oc_category_to_store` `c2s` ON (`c`.`category_id` = `c2s`.`category_id`) WHERE `cd`.`language_id` = '3' AND `c2s`.`store_id` = '0' AND `c`.`status` = '1' ORDER BY `c`.`sort_order`, `cd`.`name` 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/catalog/category.php Line: 123 Class: Opencart\System\Library\DB Function: query Backtrace: 2 File: /var/www/html/catalog/model/catalog/category.php Line: 49 Class: Opencart\Catalog\Model\Catalog\Category Function: getCache Backtrace: 3 File: /var/www/html/system/engine/loader.php Line: 343 Class: Opencart\Catalog\Model\Catalog\Category Function: getCategories Backtrace: 4 File: /var/www/html/system/engine/proxy.php Line: 87 Class: Opencart\System\Engine\Loader Function: Opencart\System\Engine\{closure} Backtrace: 5 File: /var/www/html/catalog/controller/product/search.php Line: 146 Class: Opencart\System\Engine\Proxy Function: __call Backtrace: 6 File: /var/www/html/system/engine/action.php Line: 96 Class: Opencart\Catalog\Controller\Product\Search Function: index Backtrace: 7 File: /var/www/html/system/framework.php Line: 259 Class: Opencart\System\Engine\Action Function: execute Backtrace: 8 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` = '383a50665f2c9e10cdfe40cf09', `data` = '{\"currency\":\"AZN\",\"jrv\":[84424,84436,162428,87736,135682,106648,141610,118400,104183,130722,64633,56321,72894,21203,82149,65298,38587,83275,174888,22829],\"review_token\":\"6d63eabf8dfe3976b96486a2fe7f6c57\",\"api_id\":\"journal3_popup_42b459d123\",\"upload_token\":\"9941d7d13275b2eba40e6076eb41eb42\"}', `expire` = '2025-11-30 03:39:46' 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('383a50665f2c9e1...', Array) #3 [internal function]: Opencart\System\Library\Session->close() #4 {main} thrown in /var/www/html/system/library/db/mysqli.php on line 122