Warning: Undefined variable $exception in D:\xampp\htdocs\ebaymotors_order\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 D:\xampp\htdocs\ebaymotors_order\vendor\symfony\error-handler\Resources\views\exception.html.php:5 Stack trace: #0 {main} thrown in D:\xampp\htdocs\ebaymotors_order\vendor\symfony\error-handler\Resources\views\exception.html.php on line 5