Error 500 when installing opcodesio/log-viewer on Laravel 11: Target class [] does not exist #394
Replies: 3 comments 3 replies
-
Hey @EmilioDevCode Which Laravel version is it exactly? Also, try running |
Beta Was this translation helpful? Give feedback.
-
Greetings, if you were able to see the problem, what should I do to correct it? |
Beta Was this translation helpful? Give feedback.
-
For anyone interested, I've created a live demo of Log Viewer on Laravel 11, which helps illustrate what it takes to get the Log Viewer behind authentication in production environment. live demo: https://laravel11-example.log-viewer.opcodes.io/ (user: Everything about the set up is default (Laravel + Breeze + Log Viewer), and the authorization gate can be seen here: If you have a codebase example of non-working example, please share so I can have a look at it. Thanks! 🙌 |
Beta Was this translation helpful? Give feedback.
-
I'm trying to install the opcodesio/log-viewer package on a Laravel 11
project.
After installation, when I try to access the default route /log-viewer, I encounter the following error:`Request failed with status code 500: Target class [] does not exist.
I’ve followed these steps to troubleshoot the issue:
Verified that the package is in composer.json
Ran php artisan config:clear to clear the configuration cache
Despite these efforts, the error persists. Any insights on what might be causing this issue and how to resolve it would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions