Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

swoole升级到2.0.6后报错跑步起来 #25

Open
jxy918 opened this issue Feb 21, 2017 · 3 comments
Open

swoole升级到2.0.6后报错跑步起来 #25

jxy918 opened this issue Feb 21, 2017 · 3 comments

Comments

@jxy918
Copy link

jxy918 commented Feb 21, 2017

Notice: Undefined property: APIServer::$server in /mnt/winshare/test/myswoole/Dora-RPC-master/src/BackEndServer.php on line 249

Call Stack:
0.0059 235664 1. {main}() /mnt/winshare/test/myswoole/Dora-RPC-master/test/demoserver.php:0
0.0239 531832 2. DoraRPC\BackEndServer->start() /mnt/winshare/test/myswoole/Dora-RPC-master/test/demoserver.php:85
0.0244 540032 3. Swoole\Http\Server->start() /mnt/winshare/test/myswoole/Dora-RPC-master/src/BackEndServer.php:208
14.5473 554160 4. DoraRPC\BackEndServer::onRequest(class Swoole\Http\Request, class Swoole\Http\Response) /mnt/winshare/test/myswoole/Dora-RPC-master/src/BackEndServer.php:0

Fatal error: Call to a member function task() on null in /mnt/winshare/test/myswoole/Dora-RPC-master/src/BackEndServer.php on line 249

Call Stack:
0.0059 235664 1. {main}() /mnt/winshare/test/myswoole/Dora-RPC-master/test/demoserver.php:0
0.0239 531832 2. DoraRPC\BackEndServer->start() /mnt/winshare/test/myswoole/Dora-RPC-master/test/demoserver.php:85
0.0244 540032 3. Swoole\Http\Server->start() /mnt/winshare/test/myswoole/Dora-RPC-master/src/BackEndServer.php:208
14.5473 554160 4. DoraRPC\BackEndServer::onRequest(class Swoole\Http\Request, class Swoole\Http\Response) /mnt/winshare/test/myswoole/Dora-RPC-master/src/BackEndServer.php:0

希望兼容高版本的swoole。

@137-rick
Copy link
Owner

swoole2.0会改变很多,目前版本只是适合1.x版本,Dora会在不久升级大版本制作新版协程版本

@kcloze
Copy link

kcloze commented Mar 16, 2018

协程版已经在开发了?

@137-rick
Copy link
Owner

是的,协程版本,正在慢慢推进

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants