Warning: mysqli::prepare(): invalid object or resource mysqli in /home/losamosd/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php on line 137
Too many connections (500 Whoops, looks like something went wrong.)

ConnectionFailureException PrepareStatementFailureException

HTTP 500 Whoops, looks like something went wrong.

Too many connections

Exceptions 2

Joomla\Database\Exception\ PrepareStatementFailureException

DatabaseDriver->setQuery(object(MysqliQuery)) in /home/losamosd/public_html/libraries/src/Menu/SiteMenu.php (line 166)
    CallbackController->get(object(Closure), array(), 'd17e8e13b99b4d9bf23a7d0b83a466c3', false) in /home/losamosd/public_html/libraries/src/Menu/SiteMenu.php (line 179)
      HtmlRenderer->render(object(ConnectionFailureException)) in /home/losamosd/public_html/libraries/src/Exception/ExceptionHandler.php (line 126)
        ExceptionHandler::render(object(ConnectionFailureException)) in /home/losamosd/public_html/libraries/src/Exception/ExceptionHandler.php (line 72)
          ExceptionHandler::handleException(object(ConnectionFailureException)) in /home/losamosd/public_html/libraries/src/Application/CMSApplication.php (line 322)
            CMSApplication->execute() in /home/losamosd/public_html/includes/app.php (line 61)
              require_once('/home/losamosd/public_html/includes/app.php') in /home/losamosd/public_html/index.php (line 32)

                Joomla\Database\Exception\ ConnectionFailureException

                Could not connect to database: Too many connections

                Stack Traces 2

                [2/2] PrepareStatementFailureException
                Joomla\Database\Exception\PrepareStatementFailureException:
                Too many connections
                
                  at /home/losamosd/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:141
                  at Joomla\Database\Mysqli\MysqliStatement->__construct(object(mysqli), 'SELECT `m`.`id`,`m`.`menutype`,`m`.`title`,`m`.`alias`,`m`.`note`,`m`.`link`,`m`.`type`,`m`.`level`,`m`.`language`,`m`.`browserNav`,`m`.`access`,`m`.`params`,`m`.`home`,`m`.`img`,`m`.`template_style_id`,`m`.`component_id`,`m`.`parent_id`,`m`.`path` AS `route`,`e`.`element` AS `component`FROM `jos_menu` AS `m`LEFT JOIN `jos_extensions` AS `e` ON `m`.`component_id` = `e`.`extension_id`WHERE ((`m`.`published` = 1 AND `m`.`parent_id` > 0 AND `m`.`client_id` = 0) AND (`m`.`publish_up` IS NULL OR `m`.`publish_up` <= ?)) AND (`m`.`publish_down` IS NULL OR `m`.`publish_down` >= ?)ORDER BY `m`.`lft`')
                     (/home/losamosd/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:1089)
                  at Joomla\Database\Mysqli\MysqliDriver->prepareStatement('SELECT `m`.`id`,`m`.`menutype`,`m`.`title`,`m`.`alias`,`m`.`note`,`m`.`link`,`m`.`type`,`m`.`level`,`m`.`language`,`m`.`browserNav`,`m`.`access`,`m`.`params`,`m`.`home`,`m`.`img`,`m`.`template_style_id`,`m`.`component_id`,`m`.`parent_id`,`m`.`path` AS `route`,`e`.`element` AS `component`FROM `jos_menu` AS `m`LEFT JOIN `jos_extensions` AS `e` ON `m`.`component_id` = `e`.`extension_id`WHERE ((`m`.`published` = 1 AND `m`.`parent_id` > 0 AND `m`.`client_id` = 0) AND (`m`.`publish_up` IS NULL OR `m`.`publish_up` <= :currentDate1)) AND (`m`.`publish_down` IS NULL OR `m`.`publish_down` >= :currentDate2)ORDER BY `m`.`lft`')
                     (/home/losamosd/public_html/libraries/vendor/joomla/database/src/DatabaseDriver.php:1900)
                  at Joomla\Database\DatabaseDriver->setQuery(object(MysqliQuery))
                     (/home/losamosd/public_html/libraries/src/Menu/SiteMenu.php:166)
                  at Joomla\CMS\Menu\SiteMenu->Joomla\CMS\Menu\{closure}()
                     (/home/losamosd/public_html/libraries/src/Cache/Controller/CallbackController.php:51)
                  at Joomla\CMS\Cache\Controller\CallbackController->get(object(Closure), array(), 'd17e8e13b99b4d9bf23a7d0b83a466c3', false)
                     (/home/losamosd/public_html/libraries/src/Menu/SiteMenu.php:179)
                  at Joomla\CMS\Menu\SiteMenu->load()
                     (/home/losamosd/public_html/libraries/src/Menu/AbstractMenu.php:333)
                  at Joomla\CMS\Menu\AbstractMenu->getMenu()
                     (/home/losamosd/public_html/libraries/src/Menu/AbstractMenu.php:164)
                  at Joomla\CMS\Menu\AbstractMenu->getItem(null)
                     (/home/losamosd/public_html/libraries/src/Application/SiteApplication.php:422)
                  at Joomla\CMS\Application\SiteApplication->getTemplate(true)
                     (/home/losamosd/public_html/libraries/src/Error/Renderer/HtmlRenderer.php:50)
                  at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(ConnectionFailureException))
                     (/home/losamosd/public_html/libraries/src/Exception/ExceptionHandler.php:126)
                  at Joomla\CMS\Exception\ExceptionHandler::render(object(ConnectionFailureException))
                     (/home/losamosd/public_html/libraries/src/Exception/ExceptionHandler.php:72)
                  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(ConnectionFailureException))
                     (/home/losamosd/public_html/libraries/src/Application/CMSApplication.php:322)
                  at Joomla\CMS\Application\CMSApplication->execute()
                     (/home/losamosd/public_html/includes/app.php:61)
                  at require_once('/home/losamosd/public_html/includes/app.php')
                     (/home/losamosd/public_html/index.php:32)                
                [1/2] ConnectionFailureException
                Joomla\Database\Exception\ConnectionFailureException:
                Could not connect to database: Too many connections
                
                  at /home/losamosd/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:321
                  at Joomla\Database\Mysqli\MysqliDriver->connect()
                     (/home/losamosd/public_html/libraries/vendor/joomla/session/src/Handler/DatabaseHandler.php:233)
                  at Joomla\Session\Handler\DatabaseHandler->open('/opt/alt/php74/var/lib/php/session', '060d1b7e2348daa36565eb6ddeb4668f')
                  at session_start()
                     (/home/losamosd/public_html/libraries/vendor/joomla/session/src/Storage/NativeStorage.php:478)
                  at Joomla\Session\Storage\NativeStorage->start()
                     (/home/losamosd/public_html/libraries/src/Session/Storage/JoomlaStorage.php:295)
                  at Joomla\CMS\Session\Storage\JoomlaStorage->start()
                     (/home/losamosd/public_html/libraries/vendor/joomla/session/src/Session.php:406)
                  at Joomla\Session\Session->start()
                     (/home/losamosd/public_html/libraries/vendor/joomla/session/src/Session.php:333)
                  at Joomla\Session\Session->has('user')
                     (/home/losamosd/public_html/libraries/src/Session/Session.php:194)
                  at Joomla\CMS\Session\Session->get('user')
                     (/home/losamosd/public_html/libraries/src/Factory.php:372)
                  at Joomla\CMS\Factory::getUser()
                     (/home/losamosd/public_html/libraries/src/Application/SiteApplication.php:562)
                  at Joomla\CMS\Application\SiteApplication->initialiseApp()
                     (/home/losamosd/public_html/libraries/src/Application/SiteApplication.php:226)
                  at Joomla\CMS\Application\SiteApplication->doExecute()
                     (/home/losamosd/public_html/libraries/src/Application/CMSApplication.php:293)
                  at Joomla\CMS\Application\CMSApplication->execute()
                     (/home/losamosd/public_html/includes/app.php:61)
                  at require_once('/home/losamosd/public_html/includes/app.php')
                     (/home/losamosd/public_html/index.php:32)