Infinity loop in exception & error handler. Message: PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /var/www/html/dvs/vendor/windwalker/framework/src/Database/Driver/Pdo/PdoDriver.php:285 Stack trace: #0 /var/www/html/dvs/vendor/windwalker/framework/src/Database/Driver/Pdo/PdoDriver.php(285): PDOStatement->execute() #1 /var/www/html/dvs/vendor/windwalker/framework/src/Database/Driver/AbstractDatabaseDriver.php(246): Windwalker\Database\Driver\Pdo\PdoDriver->doExecute() #2 /var/www/html/dvs/vendor/windwalker/framework/src/Database/Command/AbstractReader.php(295): Windwalker\Database\Driver\AbstractDatabaseDriver->execute() #3 /var/www/html/dvs/vendor/windwalker/framework/src/Database/Driver/AbstractDatabaseDriver.php(764): Windwalker\Database\Command\AbstractReader->loadObjectList(NULL, '\\stdClass') #4 /var/www/html/dvs/vendor/windwalker/framework/src/DataMapper/Adapter/WindwalkerAdapter.php(111): Windwalker\Database\Driver\AbstractDatabaseDriver->loadAll() #5 /var/www/html/dvs/vendor/windwalker/framework/src/DataMapper/DataMapper.php(53): Windwalker\DataMapper\Adapter\WindwalkerAdapter->find('categories', '*', Array, Array, 0, 1) #6 /var/www/html/dvs/vendor/windwalker/framework/src/DataMapper/AbstractDataMapper.php(195): Windwalker\DataMapper\DataMapper->doFind(Array, Array, 0, 1) #7 /var/www/html/dvs/vendor/windwalker/framework/src/DataMapper/AbstractDataMapper.php(273): Windwalker\DataMapper\AbstractDataMapper->find(Array, Array, 0, 1) #8 [internal function]: Windwalker\DataMapper\AbstractDataMapper->findOne(1) #9 /var/www/html/dvs/vendor/windwalker/core/src/Core/DataMapper/AbstractDataMapperProxy.php(73): call_user_func_array(Array, Array) #10 /var/www/html/dvs/vendor/lyrasoft/luna/src/Category/CategoryHelper.php(88): Windwalker\Core\DataMapper\AbstractDataMapperProxy->__call('findOne', Array) #11 /var/www/html/dvs/vendor/lyrasoft/luna/src/Category/CategoryHelper.php(149): Lyrasoft\Luna\Category\CategoryHelper::getCategories('product', 1, 1, Array, 'lft', NULL, NULL) #12 /var/www/html/dvs/src/Catalog/Listener/ViewListener.php(36): Lyrasoft\Luna\Category\CategoryHelper::getAvailableCategories('product', 1, 1) #13 [internal function]: Catalog\Listener\ViewListener->onViewBeforeRender(Object(Windwalker\Event\Event)) #14 /var/www/html/dvs/vendor/windwalker/core/src/Core/Event/EventDispatcher.php(90): call_user_func(Array, Object(Windwalker\Event\Event)) #15 /var/www/html/dvs/vendor/windwalker/core/src/Core/View/AbstractView.php(152): Windwalker\Core\Event\EventDispatcher->triggerEvent(Object(Windwalker\Event\Event), Array) #16 /var/www/html/dvs/vendor/windwalker/core/src/Core/View/PhpHtmlView.php(66): Windwalker\Core\View\AbstractView->render() #17 /var/www/html/dvs/src/Catalog/Error/CatalogErrorHandler.php(81): Windwalker\Core\View\PhpHtmlView->render() #18 /var/www/html/dvs/vendor/windwalker/core/src/Core/Error/ErrorHandler.php(94): Catalog\Error\CatalogErrorHandler::respond(Object(PDOException)) #19 [internal function]: Windwalker\Core\Error\ErrorHandler::exception(Object(PDOException)) #20 {main} Next PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away SQL: SELECT * FROM categories WHERE `id` = '1' LIMIT 0, 1 in /var/www/html/dvs/vendor/windwalker/framework/src/Database/Driver/Pdo/PdoDriver.php:289 Stack trace: #0 /var/www/html/dvs/vendor/windwalker/framework/src/Database/Driver/AbstractDatabaseDriver.php(246): Windwalker\Database\Driver\Pdo\PdoDriver->doExecute() #1 /var/www/html/dvs/vendor/windwalker/framework/src/Database/Command/AbstractReader.php(295): Windwalker\Database\Driver\AbstractDatabaseDriver->execute() #2 /var/www/html/dvs/vendor/windwalker/framework/src/Database/Driver/AbstractDatabaseDriver.php(764): Windwalker\Database\Command\AbstractReader->loadObjectList(NULL, '\\stdClass') #3 /var/www/html/dvs/vendor/windwalker/framework/src/DataMapper/Adapter/WindwalkerAdapter.php(111): Windwalker\Database\Driver\AbstractDatabaseDriver->loadAll() #4 /var/www/html/dvs/vendor/windwalker/framework/src/DataMapper/DataMapper.php(53): Windwalker\DataMapper\Adapter\WindwalkerAdapter->find('categories', '*', Array, Array, 0, 1) #5 /var/www/html/dvs/vendor/windwalker/framework/src/DataMapper/AbstractDataMapper.php(195): Windwalker\DataMapper\DataMapper->doFind(Array, Array, 0, 1) #6 /var/www/html/dvs/vendor/windwalker/framework/src/DataMapper/AbstractDataMapper.php(273): Windwalker\DataMapper\AbstractDataMapper->find(Array, Array, 0, 1) #7 [internal function]: Windwalker\DataMapper\AbstractDataMapper->findOne(1) #8 /var/www/html/dvs/vendor/windwalker/core/src/Core/DataMapper/AbstractDataMapperProxy.php(73): call_user_func_array(Array, Array) #9 /var/www/html/dvs/vendor/lyrasoft/luna/src/Category/CategoryHelper.php(88): Windwalker\Core\DataMapper\AbstractDataMapperProxy->__call('findOne', Array) #10 /var/www/html/dvs/vendor/lyrasoft/luna/src/Category/CategoryHelper.php(149): Lyrasoft\Luna\Category\CategoryHelper::getCategories('product', 1, 1, Array, 'lft', NULL, NULL) #11 /var/www/html/dvs/src/Catalog/Listener/ViewListener.php(36): Lyrasoft\Luna\Category\CategoryHelper::getAvailableCategories('product', 1, 1) #12 [internal function]: Catalog\Listener\ViewListener->onViewBeforeRender(Object(Windwalker\Event\Event)) #13 /var/www/html/dvs/vendor/windwalker/core/src/Core/Event/EventDispatcher.php(90): call_user_func(Array, Object(Windwalker\Event\Event)) #14 /var/www/html/dvs/vendor/windwalker/core/src/Core/View/AbstractView.php(152): Windwalker\Core\Event\EventDispatcher->triggerEvent(Object(Windwalker\Event\Event), Array) #15 /var/www/html/dvs/vendor/windwalker/core/src/Core/View/PhpHtmlView.php(66): Windwalker\Core\View\AbstractView->render() #16 /var/www/html/dvs/src/Catalog/Error/CatalogErrorHandler.php(81): Windwalker\Core\View\PhpHtmlView->render() #17 /var/www/html/dvs/vendor/windwalker/core/src/Core/Error/ErrorHandler.php(94): Catalog\Error\CatalogErrorHandler::respond(Object(PDOException)) #18 [internal function]: Windwalker\Core\Error\ErrorHandler::exception(Object(PDOException)) #19 {main}