Warning: Undefined variable $exception in C:\xampp\htdocs\rampcheckv3\vendor\symfony\error-handler\Resources\views\exception.html.php on line 5

Fatal error: Uncaught Error: Call to a member function getAllPrevious() on null in C:\xampp\htdocs\rampcheckv3\vendor\symfony\error-handler\Resources\views\exception.html.php:5 Stack trace: #0 {main} thrown in C:\xampp\htdocs\rampcheckv3\vendor\symfony\error-handler\Resources\views\exception.html.php on line 5