Target class [App\Http\Middleware\EncryptCookies] does not exist

136 Views Asked by At

Laravel application that i am working on keeps on showing me this:

Illuminate \ Contracts\ Container\ BindingResolutionException PHP 8.1.10 10.28.0 Target class [App\Http\Middleware\EncryptCookies] does not exist.

This is the web.php

Route::get('/', [ListingController::class, 'index']);

// Single Listing
Route::get('/listings/{listing}', [ListingController::class, 'show']);
0

There are 0 best solutions below