talk icon indicating copy to clipboard operation
talk copied to clipboard

Error is coming

Open CoderRathore opened this issue 7 years ago • 4 comments

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

CoderRathore avatar Jun 23 '17 13:06 CoderRathore

please give me proper error message with screenshot

nahid avatar Jul 03 '17 05:07 nahid

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.

CoderRathore avatar Jul 03 '17 07:07 CoderRathore

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 avatar Oct 09 '17 01:10 cristianuibar

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.

cristianuibar avatar Oct 09 '17 02:10 cristianuibar