New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class App\Http\Controllers\jeremykenedy\LaravelLogger\App\Http\Controllers\LaravelLoggerController does not exist #84
Comments
@ahph37 has your side fix this issue?i am having same issue when using this package |
Are you implementing as outlined in the readme? Are you doing anything different like trying to define your own routes in web.php? The issue was originally closed because it did not have enough information to replicate as outlined here: https://github.com/jeremykenedy/laravel-logger#opening-an-issue |
yes,i am using the own routes same as your doc like this Route::group(['prefix' => 'activity', 'namespace' => 'jeremykenedy\LaravelLogger\app\Http\Controllers', 'middleware' => ['web', 'auth', 'activity']], function () {
}); |
my side even try use custom vendor path load like below,still facing same issue too "psr-4": { |
The routes are built into to the package and wrapped in group that assigned the namespace. https://github.com/jeremykenedy/laravel-logger/blob/master/src/routes/web.php
|
Adding \ before namespace solve my problem Route::group(['prefix' => 'admin/activity', 'namespace' => '\jeremykenedy\LaravelLogger\App\Http\Controllers', 'middleware' => ['web', 'auth', 'activity']], function () { |
Thanks |
Why i have exception like this
"Class App\Http\Controllers\jeremykenedy\LaravelLogger\App\Http\Controllers\LaravelLoggerController does not exist"
when i want to acces route /activity?
@jeremykenedy
The text was updated successfully, but these errors were encountered: