workerman 在linux中运行命令行
php server.php start
报错
主要warning:
Waring: \app\push\controller\Events::onMessage is not callable
原因:
在tp5 中,把类名和类文件名都修改成Events即可
参考:https://wenda.workerman.net/question/1227?item_id=2265&rf=false
workerman 在linux中运行命令行
php server.php start
报错
主要warning:
Waring: \app\push\controller\Events::onMessage is not callable
原因:
在tp5 中,把类名和类文件名都修改成Events即可
参考:https://wenda.workerman.net/question/1227?item_id=2265&rf=false