Additional uncaught exception thrown while handling exception.

Original

Error: Class "Symfony\Component\HttpFoundation\Response" not found in include() (line 21 of /var/www/html/core/lib/Drupal/Core/Form/EnforcedResponse.php).

include() (Line: 576)
Composer\Autoload\{closure}() (Line: 427)
Composer\Autoload\ClassLoader->loadClass() (Line: 20)
Drupal\Core\EventSubscriber\EnforcedFormResponseSubscriber->onKernelException() (Line: 246)
Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}() (Line: 206)
Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (Line: 56)
Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (Line: 241)
Symfony\Component\HttpKernel\HttpKernel->handleThrowable() (Line: 91)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 118)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 92)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 50)
Drupal\ban\BanMiddleware->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 53)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 54)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 745)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Additional

Error: Class "Symfony\Component\HttpFoundation\Response" not found in _drupal_log_error() (line 164 of /var/www/html/core/includes/errors.inc).

_drupal_log_error() (Line: 122)
_drupal_exception_handler()