GatewayWorker启动后报错,请大神帮忙看看

苏生不语

Fatal error: Call to undefined method Event::onMessage() in /home/workerman/workerman-buyu/GatewayWorker/BusinessWorker.php on line 216
WORKER EXIT UNEXPECTED E_ERROR Call to undefined method Event::onMessage() in /home/workerman/workerman-buyu/GatewayWorker/BusinessWorker.php on line 216
worker exit with status 65280

Workerman版本3.2.3
GatewayWorker版本2.0.0

2643 1 0
1个回答

xiuwang

报错说你没有 Event::onMessage 方法,自己检查下有没有

  • 苏生不语 2017-12-19

    Event::onMessage方法是有的,现在我换了最新的GatewayWorker,把Event.php换成了Events.php就好了

年代过于久远,无法发表回答
×
🔝