缺少推送器的app_id、app_ secret和app id


My app_id, app_ secert, and app id of pusher is missing

我正在使用推送器为我的网站制作实时评论系统。我为我的网站设置了以下的推送器设置。

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

它工作得很好,但我得到以下错误。

严重性:警告消息:缺少参数1push::__construct(),在/var/www/system/core/Loader.php中调用文件名称:libraries/push .php行号:72

错误是什么?

使用codeigniter,需要在控制器的构造函数中加载库push