Open CoderRathore opened 7 years ago
please give me proper error message with screenshot
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.
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,
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.
Class 'Nahid\Talk\TalkServiceProvider' not found. pls help me