
How to resolve Error in laravel when visiting 404 page error page NotFoundHttpException in RouteCollection.php
This case solved with Redirect all errors to the homepage.
How to? : app/Exceptions/Handler.php add this code dipped down or if there are similarities but different commands, then delete that and then replace with this code.
public function render($request, Exception $e) { if($this->isHttpException($e)) { switch ($e->getStatusCode()) { // not found case 404: return redirect()->guest('home'); break; // internal error case '500': return redirect()->guest('home'); break; default: return $this->renderHttpException($e); break; } } else { return parent::render($request, $e); } } Or you can replace your Handler.php with this sample file solved code: Direct Link https://www.6webhost.com
Are you searching for Free Download How to Resolve Error Laravel NotFoundHttpException in RouteCollection.php? We share about this new product at FreeWebScript.com, this is latest full versions now.