Slim отключить сведения об ошибке отображения
//check the attached link as well
$configuration = [
'settings' => [
'displayErrorDetails' => true,
],
];
$c = new \Slim\Container($configuration);
$app = new \Slim\App($c);
Singh99