laravel-websockets icon indicating copy to clipboard operation
laravel-websockets copied to clipboard

Class 'BeyondCode\LaravelWebSockets\Dashboard\DashboardLogger' not found

Open m33ts4k0z opened this issue 2 years ago • 5 comments

Hello,

trying to install version 2.0, I get this error when I try to open the web interface:

Error
Class 'BeyondCode\LaravelWebSockets\Dashboard\DashboardLogger' not found (View: /vendor/beyondcode/laravel-websockets/resources/views/dashboard.blade.php)

m33ts4k0z avatar Oct 17 '21 15:10 m33ts4k0z

Did you solve it? Could you please share your solution?

lucianobosco avatar Oct 22 '21 04:10 lucianobosco

Hello,

I didnt solve it. I just installed websockets v1 on laravel 8 by forcing package downgrade

m33ts4k0z avatar Oct 22 '21 08:10 m33ts4k0z

Apparently if you go to the DashboardLogger in version 2.0, you can see that it doesn't have that namespace. It's: namespace BeyondCode\LaravelWebSockets;

Any ideas on how to solve this?

rubikovakocka avatar Oct 22 '21 09:10 rubikovakocka

Thanks! Anyway, I will downgrade too. Besides this error which is not critical, I'm facing pusher_internal:member_removed after some random time when using multiple browsers (chrome and incognito mode) and all my events stop working in one of them. No clue at all about what's happening, but I guess branch 2.x is not stable at all yet

lucianobosco avatar Oct 22 '21 09:10 lucianobosco

Hey, I have just solved it.

It cached the dashboard view from version 1 that I had previously installed.

So, just delete the cached views from storage!

rubikovakocka avatar Oct 22 '21 09:10 rubikovakocka