Pregunta

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.

¿Fue útil?

Solución

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

I have done it.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top