Fatal error: Uncaught PDOException: Packets out of order. Expected 0 received 1. Packet size=23 in /var/www/librostexto/html/app/Factories/Database.php:23 Stack trace: #0 /var/www/librostexto/html/app/Factories/Database.php(23): PDO->__construct() #1 /var/www/librostexto/html/app/Model.php(22): App\Factories\Database->__construct() #2 /var/www/librostexto/html/app/School.php(24): App\Model->__construct() #3 /var/www/librostexto/html/app/Controllers/SchoolsController.php(30): App\School->__construct() #4 /var/www/librostexto/html/vendor/phroute/phroute/src/Phroute/HandlerResolver.php(16): App\Controllers\SchoolsController->__construct() #5 /var/www/librostexto/html/vendor/phroute/phroute/src/Phroute/Dispatcher.php(56): Phroute\Phroute\HandlerResolver->resolve() #6 /var/www/librostexto/html/routes/router.php(30): Phroute\Phroute\Dispatcher->dispatch() #7 /var/www/librostexto/html/public/index.php(27): require_once('/var/www/libros...') #8 {main} Next PDOException: SQLSTATE[HY000] [2006] MySQL server has gone away in /var/w in /var/www/librostexto/html/app/Factories/Database.php on line 23