( ! ) Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 Server has gone away in /home/akkocar/dev.cencoparts.com/classes/db/DbPDO.php:149 Stack trace: #0 /home/akkocar/dev.cencoparts.com/classes/db/DbPDO.php(149): PDO->query() #1 /home/akkocar/dev.cencoparts.com/classes/db/Db.php(377): DbPDOCore->_query() #2 /home/akkocar/dev.cencoparts.com/classes/db/Db.php(614): DbCore->query() #3 /home/akkocar/dev.cencoparts.com/classes/Hook.php(1267): DbCore->executeS() #4 /home/akkocar/dev.cencoparts.com/classes/Hook.php(735): HookCore::getAllHookRegistrations() #5 /home/akkocar/dev.cencoparts.com/classes/Hook.php(842): HookCore::getHookModuleExecList() #6 /home/akkocar/dev.cencoparts.com/classes/Dispatcher.php(606): HookCore::exec() #7 /home/akkocar/dev.cencoparts.com/classes/Dispatcher.php(243): DispatcherCore->loadRoutes() #8 /home/akkocar/dev.cencoparts.com/classes/Dispatcher.php(201): DispatcherCore->__construct() #9 /home/akkocar/dev.cencoparts.com/index.php(28): DispatcherCore::getInstance() #10 {main} Next PrestaShopException: SQLSTATE[HY000]: General error: 2006 Server has gone away in /home/akkocar/dev.cencoparts.com/classes/db/DbPDO.php on line 151
( ! ) PrestaShopException: SQLSTATE[HY000]: General error: 2006 Server has gone away in /home/akkocar/dev.cencoparts.com/classes/db/DbPDO.php on line 151
Call Stack
#TimeMemoryFunctionLocation
10.0001406000{main}( ).../index.php:0
20.195911668368DispatcherCore::getInstance( $request = ??? ).../index.php:28
30.197912420136DispatcherCore->__construct( $request = class Symfony\Component\HttpFoundation\Request { public $attributes = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $query = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $server = class Symfony\Component\HttpFoundation\ServerBag { protected $parameters = [...] }; public $files = class Symfony\Component\HttpFoundation\FileBag { protected $parameters = [...] }; public $cookies = class Symfony\Component\HttpFoundation\ParameterBag { protected $parameters = [...] }; public $headers = class Symfony\Component\HttpFoundation\HeaderBag { protected $headers = [...]; protected $cacheControl = [...] }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = NULL; protected $requestUri = '/2-inicio?q=Marca-DAICO+CALIBER-OSRAM-PETRONAS-TOYOTA-VACUUM-BAILCAST'; protected $baseUrl = NULL; protected $basePath = NULL; protected $method = NULL; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en'; private $preferredFormat = NULL; private $isHostValid = TRUE; private $isForwardedValid = TRUE } ).../Dispatcher.php:201
40.198112427208DispatcherCore->loadRoutes( $id_shop = ??? ).../Dispatcher.php:243
50.199012596040HookCore::exec( $hook_name = 'moduleRoutes', $hook_args = ['id_shop' => 1], $id_module = NULL, $array_return = TRUE, $check_exceptions = FALSE, $use_push = ???, $id_shop = ???, $chain = ??? ).../Dispatcher.php:606
60.199612734136HookCore::getHookModuleExecList( $hookName = 'moduleRoutes' ).../Hook.php:842
70.199612734136HookCore::getAllHookRegistrations( $context = class Context { public $cart = NULL; public $customer = class Customer { public $id = NULL; public $id_shop = NULL; public $id_shop_group = NULL; public $secure_key = NULL; public $note = NULL; public $id_gender = 0; public $id_default_group = 1; public $id_lang = NULL; public $lastname = NULL; public $firstname = NULL; public $birthday = NULL; public $email = NULL; public $newsletter = NULL; public $ip_registration_newsletter = NULL; public $newsletter_date_add = NULL; public $optin = NULL; public $website = NULL; public $company = NULL; public $siret = NULL; public $ape = NULL; public $outstanding_allow_amount = 0; public $show_public_prices = 0; public $id_risk = NULL; public $max_payment_days = 0; public $passwd = NULL; public $last_passwd_gen = NULL; public $active = TRUE; public $is_guest = FALSE; public $deleted = FALSE; public $date_add = NULL; public $date_upd = NULL; public $years = NULL; public $days = NULL; public $months = NULL; public $geoloc_id_country = NULL; public $geoloc_id_state = NULL; public $geoloc_postcode = NULL; public $logged = FALSE; public $id_guest = FALSE; public $groupBox = NULL; public $reset_password_token = NULL; public $reset_password_validity = NULL; protected $webserviceParameters = [...]; protected $lang_associated = NULL; public $id_shop_list = [...]; protected $get_shop_from_context = TRUE; protected $table = 'customer'; protected $identifier = 'id_customer'; protected $fieldsRequired = [...]; protected $fieldsSize = [...]; protected $fieldsValidate = [...]; protected $fieldsRequiredLang = [...]; protected $fieldsSizeLang = [...]; protected $fieldsValidateLang = [...]; protected $tables = [...]; protected $image_dir = NULL; protected $image_format = 'jpg'; protected $translator = NULL; protected $def = [...]; protected $update_fields = NULL; public $force_id = FALSE }; public $cookie = class Cookie { protected $_content = [...]; protected $_name = 'PrestaShop-543b92dc6f5c74cddf7b9ae8da42f721'; protected $_expire = 1787094797; protected $_domain = 'dev.cencoparts.com'; protected $_sameSite = 'Lax'; protected $_path = '/'; protected $cipherTool = class PhpEncryption { ... }; protected $_modified = FALSE; protected $_allow_writing = TRUE; protected $_salt = 'wgzroubqi0fkig7mbpzbk3c8os1tgfef'; protected $_standalone = FALSE; protected $_secure = TRUE; protected $session = NULL }; public $session = class Symfony\Component\HttpFoundation\Session\Session { protected $storage = class Symfony\Component\HttpFoundation\Session\Storage\PhpBridgeSessionStorage { ... }; private $flashName = 'flashes'; private $attributeName = 'attributes'; private $data = [...]; private $usageIndex = 2 }; public $link = class Link { protected $allow = TRUE; protected $url = '/index.php'; public $protocol_link = 'https://'; public $protocol_content = 'https://'; protected $ssl_enable = '1'; protected $urlShopId = NULL }; public $country = class Country { public $id = 15; public $id_zone = '9'; public $id_currency = '0'; public $iso_code = 'PT'; public $call_prefix = '351'; public $name = 'Portugal'; public $contains_states = '0'; public $need_identification_number = '0'; public $need_zip_code = '1'; public $zip_code_format = 'NNNN-NNN'; public $display_tax_label = '1'; public $active = '1'; protected $webserviceParameters = [...]; protected $id_lang = 2; protected $lang_associated = NULL; protected $id_shop = 1; public $id_shop_list = [...]; protected $get_shop_from_context = TRUE; protected $table = 'country'; protected $identifier = 'id_country'; protected $fieldsRequired = [...]; protected $fieldsSize = [...]; protected $fieldsValidate = [...]; protected $fieldsRequiredLang = [...]; protected $fieldsSizeLang = [...]; protected $fieldsValidateLang = [...]; protected $tables = [...]; protected $image_dir = NULL; protected $image_format = 'jpg'; protected $translator = NULL; protected $def = [...]; protected $update_fields = NULL; public $force_id = FALSE }; public $employee = NULL; public $controller = NULL; public $override_controller_name_for_translations = NULL; public $language = class Language { public $id = 2; public $name = 'Português PT (Portuguese)'; public $iso_code = 'pt'; public $locale = 'pt-PT'; public $language_code = 'pt-pt'; public $date_format_lite = 'Y-m-d'; public $date_format_full = 'Y-m-d H:i:s'; public $is_rtl = '0'; public $active = '1'; protected $webserviceParameters = [...]; protected $translationsFilesAndVars = [...]; protected $id_lang = NULL; protected $lang_associated = NULL; protected $id_shop = 1; public $id_shop_list = [...]; protected $get_shop_from_context = TRUE; protected $table = 'lang'; protected $identifier = 'id_lang'; protected $fieldsRequired = [...]; protected $fieldsSize = [...]; protected $fieldsValidate = [...]; protected $fieldsRequiredLang = [...]; protected $fieldsSizeLang = [...]; protected $fieldsValidateLang = [...]; protected $tables = [...]; protected $image_dir = NULL; protected $image_format = 'jpg'; protected $translator = NULL; protected $def = [...]; protected $update_fields = NULL; public $force_id = FALSE }; public $currency = NULL; public $currentLocale = NULL; public $tab = NULL; public $shop = class Shop { public $id_shop_group = '1'; public $id_category = '2'; public $theme_name = 'at_autozpro'; public $name = 'Petroilum'; public $color = ''; public $active = '1'; public $deleted = '0'; public $physical_uri = '/'; public $virtual_uri = ''; public $domain = 'dev.cencoparts.com'; public $domain_ssl = 'dev.cencoparts.com'; protected $group = class ShopGroup { ... }; public $address = NULL; protected $webserviceParameters = [...]; public $theme = class PrestaShop\PrestaShop\Core\Addon\Theme\Theme { ... }; public $id = 1; protected $id_lang = NULL; protected $lang_associated = NULL; protected $id_shop = NULL; public $id_shop_list = [...]; protected $get_shop_from_context = TRUE; protected $table = 'shop'; protected $identifier = 'id_shop'; protected $fieldsRequired = [...]; protected $fieldsSize = [...]; protected $fieldsValidate = [...]; protected $fieldsRequiredLang = [...]; protected $fieldsSizeLang = [...]; protected $fieldsValidateLang = [...]; protected $tables = [...]; protected $image_dir = NULL; protected $image_format = 'jpg'; protected $translator = NULL; protected $def = [...]; protected $update_fields = NULL; public $force_id = FALSE }; public $tmpOldShop = NULL; public $smarty = class SmartyDev { public $auto_literal = TRUE; public $error_unassigned = FALSE; public $use_include_path = FALSE; public $_templateDirNormalized = FALSE; public $_joined_template_dir = NULL; public $_configDirNormalized = FALSE; public $_joined_config_dir = NULL; public $default_template_handler_func = NULL; public $default_config_handler_func = NULL; public $default_plugin_handler_func = NULL; public $_compileDirNormalized = TRUE; public $_pluginsDirNormalized = FALSE; public $_cacheDirNormalized = TRUE; public $force_compile = FALSE; public $use_sub_dirs = TRUE; public $allow_ambiguous_resources = FALSE; public $merge_compiled_includes = FALSE; public $extends_recursion = TRUE; public $force_cache = FALSE; public $left_delimiter = '{'; public $right_delimiter = '}'; public $literals = [...]; public $security_class = 'Smarty_Security'; public $security_policy = NULL; public $allow_php_templates = FALSE; public $debugging = FALSE; public $debugging_ctrl = 'NONE'; public $smarty_debug_id = 'SMARTY_DEBUG'; public $debug_tpl = '/home/akkocar/dev.cencoparts.com/themes/debug.tpl'; public $error_reporting = NULL; public $config_overwrite = TRUE; public $config_booleanize = TRUE; public $config_read_hidden = FALSE; public $compile_locking = TRUE; public $cache_locking = FALSE; public $locking_timeout = 10; public $default_resource_type = 'file'; public $caching_type = 'file'; public $default_config_type = 'file'; public $cache_modified_check = FALSE; public $registered_plugins = [...]; public $registered_objects = [...]; public $registered_classes = [...]; public $registered_filters = [...]; public $registered_resources = [...]; public $registered_cache_resources = [...]; public $autoload_filters = [...]; public $default_modifiers = [...]; public $escape_html = TRUE; public $start_time = 1785366797.2414; public $_current_file = NULL; public $_parserdebug = FALSE; public $_objType = 1; public $_debug = NULL; protected $template_dir = [...]; protected $_processedTemplateDir = [...]; protected $config_dir = [...]; protected $_processedConfigDir = [...]; protected $compile_dir = '/home/akkocar/dev.cencoparts.com/var/cache/dev/smarty/compile/'; protected $plugins_dir = [...]; protected $cache_dir = '/home/akkocar/dev.cencoparts.com/var/cache/dev/smarty/cache/'; protected $obsoleteProperties = [...]; protected $accessMap = [...]; private ${Smarty}isMutingUndefinedOrNullWarnings = FALSE; public $cache_id = NULL; public $compile_id = NULL; public $caching = 0; public $compile_check = 0; public $cache_lifetime = 3600; public $tplFunctions = [...]; public $_cache = [...]; public $template_class = 'SmartyDevTemplate'; public $tpl_vars = [...]; public $parent = NULL; public $config_vars = [...]; public $ext = class Smarty_Internal_Extension_Handler { ... } }; public $mobile_detect = class Mobile_Detect { protected $cache = [...]; protected $userAgent = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'; protected $httpHeaders = [...]; protected $cloudfrontHeaders = [...]; protected $matchingRegex = NULL; protected $matchesArray = NULL; protected $detectionType = 'mobile' }; public $mode = NULL; public $container = NULL; public $virtualTotalTaxExcluded = 0; public $virtualTotalTaxIncluded = 0; protected $translator = NULL; protected $priceComputingPrecision = NULL; protected $mobile_device = NULL; protected $is_mobile = FALSE; protected $is_tablet = FALSE }, $hookName = 'moduleRoutes' ).../Hook.php:735
80.279912911464DbCore->executeS( $sql = class DbQuery { protected $query = ['type' => 'SELECT', 'select' => [...], 'from' => [...], 'join' => [...], 'where' => [...], 'group' => [...], 'having' => [...], 'order' => [...], 'limit' => [...]] }, $array = ???, $use_cache = ??? ).../Hook.php:1267
90.279912911224DbCore->query( $sql = 'SELECT h.`name` as hook, m.`id_module`, h.`id_hook`, m.`name` as module\nFROM `psnf_module` m\n INNER JOIN psnf_module_shop module_shop\n ON (module_shop.id_module = m.id_module AND module_shop.id_shop = 1 AND module_shop.enable_device & 1)\nINNER JOIN `psnf_hook_module` `hm` ON hm.`id_module` = m.`id_module`\nINNER JOIN `psnf_hook` `h` ON hm.`id_hook` = h.`id_hook`\nLEFT JOIN `psnf_module_group` `mg` ON mg.`id_module` = m.`id_module`\nWHERE (h.`name` != "paymentOptions") AND (hm.`id_shop` = 1) AND (mg.id_s'... ).../Db.php:614
100.279912911224DbPDOCore->_query( $sql = 'SELECT h.`name` as hook, m.`id_module`, h.`id_hook`, m.`name` as module\nFROM `psnf_module` m\n INNER JOIN psnf_module_shop module_shop\n ON (module_shop.id_module = m.id_module AND module_shop.id_shop = 1 AND module_shop.enable_device & 1)\nINNER JOIN `psnf_hook_module` `hm` ON hm.`id_module` = m.`id_module`\nINNER JOIN `psnf_hook` `h` ON hm.`id_hook` = h.`id_hook`\nLEFT JOIN `psnf_module_group` `mg` ON mg.`id_module` = m.`id_module`\nWHERE (h.`name` != "paymentOptions") AND (hm.`id_shop` = 1) AND (mg.id_s'... ).../Db.php:377