Slim Application Error

The application could not run because of the following error:

Details

Type: PDOException
Code: HY000
Message: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
File: /home/nhty7120/gamerslive.fr/src/controllers/Site/SiteController.php
Line: 384

Trace

#0 /home/nhty7120/gamerslive.fr/src/controllers/Site/SiteController.php(384): PDO->query('UPDATE in_posts...')
#1 [internal function]: spark\controllers\Site\SiteController->readArticle('my-hero-academi...', '21097')
#2 /home/nhty7120/gamerslive.fr/src/framework/Route.php(173): call_user_func_array(Array, Array)
#3 [internal function]: Slim\Route->Slim\{closure}('my-hero-academi...', '21097')
#4 /home/nhty7120/gamerslive.fr/src/framework/Route.php(468): call_user_func_array(Object(Closure), Array)
#5 /home/nhty7120/gamerslive.fr/src/framework/Slim.php(1364): Slim\Route->dispatch()
#6 /home/nhty7120/gamerslive.fr/src/framework/Middleware/Flash.php(85): Slim\Slim->call()
#7 /home/nhty7120/gamerslive.fr/src/framework/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#8 /home/nhty7120/gamerslive.fr/src/middlewares/CsrfGuard/CsrfGuard.php(47): Slim\Middleware\MethodOverride->call()
#9 /home/nhty7120/gamerslive.fr/src/framework/Middleware/PrettyExceptions.php(67): spark\middlewares\CsrfGuard\CsrfGuard->call()
#10 /home/nhty7120/gamerslive.fr/src/framework/Slim.php(1308): Slim\Middleware\PrettyExceptions->call()
#11 /home/nhty7120/gamerslive.fr/index.php(6): Slim\Slim->run()
#12 {main}