Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The Response content must be a string or object implementing __toString(), "array" given.' in /var/www/html/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php:421
Stack trace:
#0 /var/www/html/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php(202): Symfony\Component\HttpFoundation\Response->setContent(Array)
#1 /var/www/html/run.php(139): Symfony\Component\HttpFoundation\Response->__construct(Array, 500, Array)
#2 [internal function]: {closure}(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException), 404)
#3 /var/www/html/vendor/silex/silex/src/Silex/ExceptionListenerWrapper.php(52): call_user_func(Object(Closure), Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException), 404)
#4 [internal function]: Silex\ExceptionListenerWrapper->__invoke(Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent), 'kernel.exceptio...', Object(Symfony\Component\EventDispatcher in /var/www/html/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php on line 421