MySQL server has gone away (500 Whoops, looks like something went wrong.)

MySQL server has gone away

Exceptions 2

mysqli_sql_exception

DatabaseDriver->setQuery(object(MysqliQuery)) in /hp/aa/ai/ge/www/jkg/jkg/libraries/src/Helper/ModuleHelper.php (line 465)
    ModuleHelper::getModuleList() in /hp/aa/ai/ge/www/jkg/jkg/libraries/src/Helper/ModuleHelper.php (line 373)
      ModuleHelper::getModules('menu') in /hp/aa/ai/ge/www/jkg/jkg/libraries/src/Document/HtmlDocument.php (line 659)
        HtmlDocument->countModules('menu') in /hp/aa/ai/ge/www/jkg/jkg/templates/cassiopeia/error.php (line 135)
          require('/hp/aa/ai/ge/www/jkg/jkg/templates/cassiopeia/error.php') in /hp/aa/ai/ge/www/jkg/jkg/libraries/src/Document/HtmlDocument.php (line 721)
            HtmlDocument->_loadTemplate('/hp/aa/ai/ge/www/jkg/jkg/templates/cassiopeia', 'error.php') in /hp/aa/ai/ge/www/jkg/jkg/libraries/src/Document/HtmlDocument.php (line 776)
              HtmlDocument->_fetchTemplate(array('template' => 'cassiopeia', 'directory' => '/hp/aa/ai/ge/www/jkg/jkg/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /hp/aa/ai/ge/www/jkg/jkg/libraries/src/Document/HtmlDocument.php (line 612)
                HtmlDocument->parse(array('template' => 'cassiopeia', 'directory' => '/hp/aa/ai/ge/www/jkg/jkg/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /hp/aa/ai/ge/www/jkg/jkg/libraries/src/Document/HtmlDocument.php (line 630)
                  HtmlDocument->render(false, array('template' => 'cassiopeia', 'directory' => '/hp/aa/ai/ge/www/jkg/jkg/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /hp/aa/ai/ge/www/jkg/jkg/libraries/src/Document/ErrorDocument.php (line 139)
                    ErrorDocument->render(false, array('template' => 'cassiopeia', 'directory' => '/hp/aa/ai/ge/www/jkg/jkg/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /hp/aa/ai/ge/www/jkg/jkg/libraries/src/Error/Renderer/HtmlRenderer.php (line 70)
                      HtmlRenderer->render(object(GenericDataException)) in /hp/aa/ai/ge/www/jkg/jkg/libraries/src/Exception/ExceptionHandler.php (line 126)
                        ExceptionHandler::render(object(GenericDataException)) in /hp/aa/ai/ge/www/jkg/jkg/libraries/src/Exception/ExceptionHandler.php (line 72)
                          ExceptionHandler::handleException(object(GenericDataException)) in /hp/aa/ai/ge/www/jkg/jkg/libraries/src/Application/CMSApplication.php (line 322)
                            CMSApplication->execute() in /hp/aa/ai/ge/www/jkg/jkg/includes/app.php (line 61)
                              require_once('/hp/aa/ai/ge/www/jkg/jkg/includes/app.php') in /hp/aa/ai/ge/www/jkg/jkg/index.php (line 32)

                                Joomla\CMS\MVC\View\ GenericDataException

                                MySQL server has gone away MySQL server has gone away

                                BaseController->display(true, array('catid' => 'INT', 'id' => 'INT', 'cid' => 'ARRAY', 'year' => 'INT', 'month' => 'INT', 'limit' => 'UINT', 'limitstart' => 'UINT', 'showall' => 'INT', 'return' => 'BASE64', 'filter' => 'STRING', 'filter_order' => 'CMD', 'filter_order_Dir' => 'CMD', 'filter-search' => 'STRING', 'print' => 'BOOLEAN', 'lang' => 'CMD', 'Itemid' => 'INT')) in /hp/aa/ai/ge/www/jkg/jkg/components/com_content/src/Controller/DisplayController.php (line 121)
                                  ComponentHelper::renderComponent('com_content') in /hp/aa/ai/ge/www/jkg/jkg/libraries/src/Application/SiteApplication.php (line 208)
                                    CMSApplication->execute() in /hp/aa/ai/ge/www/jkg/jkg/includes/app.php (line 61)
                                      require_once('/hp/aa/ai/ge/www/jkg/jkg/includes/app.php') in /hp/aa/ai/ge/www/jkg/jkg/index.php (line 32)

                                        Stack Traces 2

                                        [2/2] mysqli_sql_exception
                                        mysqli_sql_exception:
                                        MySQL server has gone away
                                        
                                          at /hp/aa/ai/ge/www/jkg/jkg/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:137
                                          at mysqli->prepare('SELECT `m`.`id`,`m`.`title`,`m`.`module`,`m`.`position`,`m`.`content`,`m`.`showtitle`,`m`.`params`,`mm`.`menuid`FROM `k7h4_modules` AS `m`LEFT JOIN `k7h4_modules_menu` AS `mm` ON `mm`.`moduleid` = `m`.`id`LEFT JOIN `k7h4_extensions` AS `e` ON `e`.`element` = `m`.`module` AND `e`.`client_id` = `m`.`client_id`WHERE (((`m`.`published` = 1 AND `e`.`enabled` = 1 AND `m`.`client_id` = ? AND `m`.`access` IN (?,?)) AND (`m`.`publish_up` IS NULL OR `m`.`publish_up` <= ?)) AND (`m`.`publish_down` IS NULL OR `m`.`publish_down` >= ?)) AND (`mm`.`menuid` = ? OR `mm`.`menuid` <= 0)ORDER BY `m`.`position`,`m`.`ordering`')
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:137)
                                          at Joomla\Database\Mysqli\MysqliStatement->__construct(object(mysqli), 'SELECT `m`.`id`,`m`.`title`,`m`.`module`,`m`.`position`,`m`.`content`,`m`.`showtitle`,`m`.`params`,`mm`.`menuid`FROM `k7h4_modules` AS `m`LEFT JOIN `k7h4_modules_menu` AS `mm` ON `mm`.`moduleid` = `m`.`id`LEFT JOIN `k7h4_extensions` AS `e` ON `e`.`element` = `m`.`module` AND `e`.`client_id` = `m`.`client_id`WHERE (((`m`.`published` = 1 AND `e`.`enabled` = 1 AND `m`.`client_id` = ? AND `m`.`access` IN (?,?)) AND (`m`.`publish_up` IS NULL OR `m`.`publish_up` <= ?)) AND (`m`.`publish_down` IS NULL OR `m`.`publish_down` >= ?)) AND (`mm`.`menuid` = ? OR `mm`.`menuid` <= 0)ORDER BY `m`.`position`,`m`.`ordering`')
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:1089)
                                          at Joomla\Database\Mysqli\MysqliDriver->prepareStatement('SELECT `m`.`id`,`m`.`title`,`m`.`module`,`m`.`position`,`m`.`content`,`m`.`showtitle`,`m`.`params`,`mm`.`menuid`FROM `k7h4_modules` AS `m`LEFT JOIN `k7h4_modules_menu` AS `mm` ON `mm`.`moduleid` = `m`.`id`LEFT JOIN `k7h4_extensions` AS `e` ON `e`.`element` = `m`.`module` AND `e`.`client_id` = `m`.`client_id`WHERE (((`m`.`published` = 1 AND `e`.`enabled` = 1 AND `m`.`client_id` = :clientId AND `m`.`access` IN (:preparedArray1,:preparedArray2)) AND (`m`.`publish_up` IS NULL OR `m`.`publish_up` <= :publishUp)) AND (`m`.`publish_down` IS NULL OR `m`.`publish_down` >= :publishDown)) AND (`mm`.`menuid` = :itemId OR `mm`.`menuid` <= 0)ORDER BY `m`.`position`,`m`.`ordering`')
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/vendor/joomla/database/src/DatabaseDriver.php:1900)
                                          at Joomla\Database\DatabaseDriver->setQuery(object(MysqliQuery))
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Helper/ModuleHelper.php:465)
                                          at Joomla\CMS\Helper\ModuleHelper::getModuleList()
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Helper/ModuleHelper.php:373)
                                          at Joomla\CMS\Helper\ModuleHelper::load()
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Helper/ModuleHelper.php:88)
                                          at Joomla\CMS\Helper\ModuleHelper::getModules('menu')
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Document/HtmlDocument.php:659)
                                          at Joomla\CMS\Document\HtmlDocument->countModules('menu')
                                             (/hp/aa/ai/ge/www/jkg/jkg/templates/cassiopeia/error.php:135)
                                          at require('/hp/aa/ai/ge/www/jkg/jkg/templates/cassiopeia/error.php')
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Document/HtmlDocument.php:721)
                                          at Joomla\CMS\Document\HtmlDocument->_loadTemplate('/hp/aa/ai/ge/www/jkg/jkg/templates/cassiopeia', 'error.php')
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Document/HtmlDocument.php:776)
                                          at Joomla\CMS\Document\HtmlDocument->_fetchTemplate(array('template' => 'cassiopeia', 'directory' => '/hp/aa/ai/ge/www/jkg/jkg/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Document/HtmlDocument.php:612)
                                          at Joomla\CMS\Document\HtmlDocument->parse(array('template' => 'cassiopeia', 'directory' => '/hp/aa/ai/ge/www/jkg/jkg/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Document/HtmlDocument.php:630)
                                          at Joomla\CMS\Document\HtmlDocument->render(false, array('template' => 'cassiopeia', 'directory' => '/hp/aa/ai/ge/www/jkg/jkg/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Document/ErrorDocument.php:139)
                                          at Joomla\CMS\Document\ErrorDocument->render(false, array('template' => 'cassiopeia', 'directory' => '/hp/aa/ai/ge/www/jkg/jkg/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Error/Renderer/HtmlRenderer.php:70)
                                          at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(GenericDataException))
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Exception/ExceptionHandler.php:126)
                                          at Joomla\CMS\Exception\ExceptionHandler::render(object(GenericDataException))
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Exception/ExceptionHandler.php:72)
                                          at Joomla\CMS\Exception\ExceptionHandler::handleException(object(GenericDataException))
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Application/CMSApplication.php:322)
                                          at Joomla\CMS\Application\CMSApplication->execute()
                                             (/hp/aa/ai/ge/www/jkg/jkg/includes/app.php:61)
                                          at require_once('/hp/aa/ai/ge/www/jkg/jkg/includes/app.php')
                                             (/hp/aa/ai/ge/www/jkg/jkg/index.php:32)                
                                        [1/2] GenericDataException
                                        Joomla\CMS\MVC\View\GenericDataException:
                                        MySQL server has gone away
                                        MySQL server has gone away
                                        
                                          at /hp/aa/ai/ge/www/jkg/jkg/components/com_content/src/View/Featured/HtmlView.php:129
                                          at Joomla\Component\Content\Site\View\Featured\HtmlView->display()
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/MVC/Controller/BaseController.php:660)
                                          at Joomla\CMS\MVC\Controller\BaseController->display(true, array('catid' => 'INT', 'id' => 'INT', 'cid' => 'ARRAY', 'year' => 'INT', 'month' => 'INT', 'limit' => 'UINT', 'limitstart' => 'UINT', 'showall' => 'INT', 'return' => 'BASE64', 'filter' => 'STRING', 'filter_order' => 'CMD', 'filter_order_Dir' => 'CMD', 'filter-search' => 'STRING', 'print' => 'BOOLEAN', 'lang' => 'CMD', 'Itemid' => 'INT'))
                                             (/hp/aa/ai/ge/www/jkg/jkg/components/com_content/src/Controller/DisplayController.php:121)
                                          at Joomla\Component\Content\Site\Controller\DisplayController->display()
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/MVC/Controller/BaseController.php:693)
                                          at Joomla\CMS\MVC\Controller\BaseController->execute('display')
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Dispatcher/ComponentDispatcher.php:143)
                                          at Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
                                             (/hp/aa/ai/ge/www/jkg/jkg/components/com_content/src/Dispatcher/Dispatcher.php:56)
                                          at Joomla\Component\Content\Site\Dispatcher\Dispatcher->dispatch()
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Component/ComponentHelper.php:361)
                                          at Joomla\CMS\Component\ComponentHelper::renderComponent('com_content')
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Application/SiteApplication.php:208)
                                          at Joomla\CMS\Application\SiteApplication->dispatch()
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Application/SiteApplication.php:249)
                                          at Joomla\CMS\Application\SiteApplication->doExecute()
                                             (/hp/aa/ai/ge/www/jkg/jkg/libraries/src/Application/CMSApplication.php:293)
                                          at Joomla\CMS\Application\CMSApplication->execute()
                                             (/hp/aa/ai/ge/www/jkg/jkg/includes/app.php:61)
                                          at require_once('/hp/aa/ai/ge/www/jkg/jkg/includes/app.php')
                                             (/hp/aa/ai/ge/www/jkg/jkg/index.php:32)