nahid / talk

Talk is a real-time users messaging and chatting system for Laravel.
MIT License
1.61k stars 327 forks source link

Error is coming #71

Open CoderRathore opened 7 years ago

CoderRathore commented 7 years ago

Class 'Nahid\Talk\TalkServiceProvider' not found. pls help me

nahid commented 7 years ago

please give me proper error message with screenshot

CoderRathore commented 7 years ago

i have implement the chat functionality in project but when i send message to another user than message will not show but when we reload the page the message will show correct. so i want to slove this problem pls help me.

cristianuibar commented 6 years ago

My guess is that the error message is below because I have it too on L5.5, PHP 7.1:

    "message": "Call to undefined method Vinkla\\Pusher\\Facades\\Pusher::trigger()",
    "exception": "Symfony\\Component\\Debug\\Exception\\FatalThrowableError",
    "file": "C:\\xampp\\htdocs\\opt\\vendor\\nahid\\talk\\src\\Live\\Webcast.php",
    "line": 50,
cristianuibar commented 6 years ago

Ok ,found the problem. In Broadcast.php you should use:

use Pusher\Pusher;

instead of

use Pusher;

Thats it. And also make sure you use the right Cluster in your config.