Having the issue when loading the route /users or /user/add and being return an error of;
ReflectionException in Route.php line 280: Class App\\Http
Laravel 8.x update has a different way of using routes.
Previously it was:
Route::get('/', 'PagesController@index');
Now it has changed to
Route::get('/',[PagesController::class, 'index']);
Note: don't forget to import (use) your controller in the routes(web.php) file at the top. Like:
use App\Http\Controllers\PagesController;