Warning: mysqli::__construct(): (08004/1040): Too many connections in /home/avalycom/public_html/db/connect.php on line 6

Fatal error: Uncaught Error: mysqli object is already closed in /home/avalycom/public_html/db/connect.php:7 Stack trace: #0 /home/avalycom/public_html/db/connect.php(7): mysqli->query('SET NAMES 'utf8...') #1 /home/avalycom/public_html/db/connect.php(12): connect::connect_start() #2 /home/avalycom/public_html/classes/language.php(71): connect::execute('SELECT * FROM p...', 'select', true) #3 /home/avalycom/public_html/classes/modules.php(85): language::get_default_lang() #4 /home/avalycom/public_html/modules/itivos_bestcategories/itivos_bestcategories.php(14): Modules->l('Are you sure ab...') #5 /home/avalycom/public_html/classes/modules.php(245): itivosBestCategories->__construct() #6 /home/avalycom/public_html/helpers/tools_helpers.php(862): Modules->load_properties('itivos_bestcate...') #7 /home/avalycom/public_html/templates_c/040fb94dd5fc1d26b05622e4c58c55fe005fafee_0.file.styles.tpl.php(84): smarty_function_hook(Array, Object(Smarty_Internal_Template)) #8 /home/avalycom/public_html/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_848611847670415fcb6fa84_27229322->callBlock(Object(Smarty_Internal_Template)) #9 /home/avalycom/public_html/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_848611847670415fcb6fa84_27229322), Object(Smarty_Internal_Template)) #10 /home/avalycom/public_html/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(Smarty_Internal_Template), Object(Block_848611847670415fcb6fa84_27229322)) #11 /home/avalycom/public_html/templates_c/040fb94dd5fc1d26b05622e4c58c55fe005fafee_0.file.styles.tpl.php(26): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(Smarty_Internal_Template), 'Block_848611847...', 'head') #12 /home/avalycom/public_html/libs/sysplugins/smarty_template_resource_base.php(123): content_670415fcb73157_26775586(Object(Smarty_Internal_Template)) #13 /home/avalycom/public_html/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #14 /home/avalycom/public_html/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #15 /home/avalycom/public_html/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render() #16 /home/avalycom/public_html/templates_c/c91b1549f71979fcdb714af39985c50284fe088e_0.file.layout.tpl.php(101): Smarty_Internal_Template->_subTemplateRender('themes/avaly//a...', NULL, NULL, 0, 3600, Array, 0, true) #17 /home/avalycom/public_html/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_435266177670415fcb68774_32078498->callBlock(Object(Smarty_Internal_Template)) #18 /home/avalycom/public_html/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_435266177670415fcb68774_32078498), Object(Smarty_Internal_Template)) #19 /home/avalycom/public_html/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(Smarty_Internal_Template), Object(Block_435266177670415fcb68774_32078498)) #20 /home/avalycom/public_html/templates_c/c91b1549f71979fcdb714af39985c50284fe088e_0.file.layout.tpl.php(40): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(Smarty_Internal_Template), 'Block_435266177...', 'head') #21 /home/avalycom/public_html/libs/sysplugins/smarty_template_resource_base.php(123): content_670415fcb6d868_29661863(Object(Smarty_Internal_Template)) #22 /home/avalycom/public_html/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #23 /home/avalycom/public_html/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #24 /home/avalycom/public_html/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render() #25 /home/avalycom/public_html/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('../layout.tpl', NULL, NULL, 0, 3600, Array, 2, false, NULL, NULL) #26 /home/avalycom/public_html/templates_c/43ef911e05084d193bcd659fb4497e86dedb5e94_0.file.app.tpl.php(38): Smarty_Internal_Runtime_Inheritance->endChild(Object(Smarty_Internal_Template), '../layout.tpl') #27 /home/avalycom/public_html/libs/sysplugins/smarty_template_resource_base.php(123): content_670415fcb65e39_90961066(Object(Smarty_Internal_Template)) #28 /home/avalycom/public_html/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #29 /home/avalycom/public_html/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #30 /home/avalycom/public_html/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render() #31 /home/avalycom/public_html/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('../pages/app.tp...', NULL, NULL, 0, 3600, Array, 2, false, NULL, NULL) #32 /home/avalycom/public_html/templates_c/a8f668cfd14014e7c60e2c83f3b290b2e91561f8_0.file.product_view.tpl.php(40): Smarty_Internal_Runtime_Inheritance->endChild(Object(Smarty_Internal_Template), '../pages/app.tp...') #33 /home/avalycom/public_html/libs/sysplugins/smarty_template_resource_base.php(123): content_671054a45f1477_06111823(Object(Smarty_Internal_Template)) #34 /home/avalycom/public_html/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #35 /home/avalycom/public_html/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #36 /home/avalycom/public_html/libs/sysplugins/smarty_internal_templatebase.php(267): Smarty_Internal_Template->render(false, 1) #37 /home/avalycom/public_html/libs/sysplugins/smarty_internal_templatebase.php(168): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 1) #38 /home/avalycom/public_html/controllers/catalogueController.php(480): Smarty_Internal_TemplateBase->display('themes/avaly/pa...') #39 /home/avalycom/public_html/dispatcher.php(88): CatalogueController->product() #40 /home/avalycom/public_html/dispatcher.php(135): Dispatcher::trigger() #41 {main} thrown in /home/avalycom/public_html/db/connect.php on line 7