laravel route target class not found
Routing namespaces have been updated on Laravel 8.X
On your router, you should define:
use AppHttpControllersTestController;
And then, declare:
Route::get('test',[TestController::class, 'test']);
laravel route target class not found
Routing namespaces have been updated on Laravel 8.X
On your router, you should define:
use AppHttpControllersTestController;
And then, declare:
Route::get('test',[TestController::class, 'test']);
Method IlluminateRoutingRoute::get does not exist
<?php
//This import is wrong:
use IlluminateRoutingRoute;
//You actually don't have to import any class as Laravel registers a global alias Route.
//If you want to import the right class, that would be:
use IlluminateSupportFacadesRoute;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us