I was working on the realtime comment system for my website using pusher.I have set the following setting of the pusher for my website.

$pusher = new Pusher(
 '**************', //APP KEY
 '*************', //APP SECRET
 '*****' //APP ID
);

It is working prefectly but I am getting following errors.

Severity: Warning Message: Missing argument 1 for Pusher::__construct(), called in /var/www/system/core/Loader.php on line 1099 and defined Filename: libraries/Pusher.php Line Number: 72

What can be the error. Any help will be great.

有帮助吗?

解决方案

Using codeigniter, Need to load the library pusher in the constructor of the controller.

I have done it.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top