NotFoundHttpException in RouteCollection.php line 161:
Hello, the issue is:
my site was working earlier, what i did is I run these commands: php artisan clear-compiled, php artisan cache-clear, php artisan view-clear.
After running these commands when i hit the url, my site goes down and started giving error : NotFoundHttpException in RouteCollection.php line 161.
Any body please help me with this.
If you can guide me , to run atleast any of one url/route. that will be big help.
Route::get('/flush', function(){
Artisan::call('config:cache');
Artisan::call('view:clear');
Artisan::call('cache:clear');
Artisan::call('route:clear');
//Cache::flush();
return redirect('/');
});
At least this should work