I am trying to set up instead of viewing the 'whoops' page, i want my users to see a custom page. so I put this on my error page. if ($e instanceof \ErrorException) { return response()->view('errors.500', [], 500); } else { return parent::render($request, $e); }
It works sometimes, but now I just got this error, still with a whoops page.
Do I need to expect a different error number InvalidArgumentException in Carbon.php line 425: A four digit year could not be found Data missing
you are trying to initialize a Carbon instance with wrong data.. check the full exception trace to find where.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community