laravel-notification-channels / pusher-push-notifications

Pusher Beams notifications channel for Laravel
http://laravel-notification-channels.com
MIT License
271 stars 67 forks source link

production.ERROR: Driver [NotificationChannels\PusherPushNotifications\PusherChannel] not supported. #56

Closed maxillarious closed 3 years ago

maxillarious commented 3 years ago

Hi, I installed this package, it worked well on my local machine.

But after i deployed it to my server online and tried executing it.

It displays this error:

production.ERROR: Driver [NotificationChannels\PusherPushNotifications\PusherChannel] not supported. {"userId":20,"exception":"[object] (InvalidArgumentException(code: 0): Driver [NotificationChannels\\PusherPushNotifications\\PusherChannel] not supported. at */public_html/vendor/laravel/framework/src/Illuminate/Support/Manager.php:119)

Please help

maxillarious commented 3 years ago

Sorry, i didn't install it properly.

Satish-Acharya commented 3 years ago

@wecojo I still have the same issue on laravel 8, it works well in local wamp but not on production linux server.. I have tried to reinstall the complete vendor folder. But still the same.. Any suggestions.

maxillarious commented 3 years ago

@wecojo I still have the same issue on laravel 8, its works well in local wamp but no on production linux server.. I have tried to reinstall the complete vendor folder. But still the same.. Any suggestions.

Am sorry, i didn't display how i solve it.

My issue was that after i installed it on my local server, i think i may have deleted it's file name from composer.json by mistake.

So all i did was reinstall it, this time making sure it's file name appeared in composer.json

Satish-Acharya commented 3 years ago

@wecojo I still have the same issue on laravel 8, its works well in local wamp but no on production linux server.. I have tried to reinstall the complete vendor folder. But still the same.. Any suggestions.

Am sorry, i didn't display how i solve it.

My issue was that after i installed it on my local server, i think i may have deleted it's file name from composer.json by mistake.

So all i did was reinstall it, this time making sure it's file name appeared in composer.json

I have fixed that, actually i didn't restart the queue daemon, i.e., supervisorctl after pushing my code. I assumed that, laravel would take it up. Then after doing some trail and error it did work.. So we need to restart supervisor/supervisorctl after new notifications created.