首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
zphp和swoole结合,启动的时候出现了这个问题,求解答
PHP Fatal error: Call to a member function getParams() on null in /Users/hundredlee/ChatRoom/apps/ctrl/main/main.php on line 29 Fatal error: Call to a member function getParams() on null in /Users/hundredlee/ChatRoom/apps/ctrl/main/main.php on line 29 {"className":"fatal","message":"Call to a member function getParams() on null","code":-1,"file":"\/Users\/hundredlee\/ChatRoom\/apps\/ctrl\/main\/main.php","line":29,"userAgent":"","trace":[{"file":"\/Users\/hundredlee\/ChatRoom\/zphp\/ZPHP\/ZPHP.php","line":113,"function":"fatal","args":["array (\n 'type' => 1,\n 'message' => 'Call to a member function getParams() on null',\n 'file' => '\/Users\/hundredlee\/ChatRoom\/apps\/ctrl\/main\/main.php',\n 'line' => 29,\n)"],"class":"ZPHP\\Common\\Formater","type":"::"},{"file":"null","line":"null","function":"fatalHandler","args":[],"class":"ZPHP\\ZPHP","type":"::"}]}[2015-09-16 15:35:46 *7527.0] WARN zm_deactivate_swoole: Fatal error: Call to a member function getParams() on null in /Users/hundredlee/ChatRoom/apps/ctrl/main/main.php on line 29.
发布于7年前 · 0 次浏览 · 来自
提问
K
Kennethquard
PHP Fatal error: Call to a member function getParams() on null in /Users/hundredlee/ChatRoom/apps/ctrl/main/main.php on line 29 Fatal error: Call to a member function getParams() on null in /Users/hundredlee/ChatRoom/apps/ctrl/main/main.php on line 29 {"className":"fatal","message":"Call to a member function getParams() on null","code":-1,"file":"\/Users\/hundredlee\/ChatRoom\/apps\/ctrl\/main\/main.php","line":29,"userAgent":"","trace":[{"file":"\/Users\/hundredlee\/ChatRoom\/zphp\/ZPHP\/ZPHP.php","line":113,"function":"fatal","args":["array (\n 'type' => 1,\n 'message' => 'Call to a member function getParams() on null',\n 'file' => '\/Users\/hundredlee\/ChatRoom\/apps\/ctrl\/main\/main.php',\n 'line' => 29,\n)"],"class":"ZPHP\\Common\\Formater","type":"::"},{"file":"null","line":"null","function":"fatalHandler","args":[],"class":"ZPHP\\ZPHP","type":"::"}]}[2015-09-16 15:35:46 *7527.0] WARN zm_deactivate_swoole: Fatal error: Call to a member function getParams() on null in /Users/hundredlee/ChatRoom/apps/ctrl/main/main.php on line 29.
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2017-01-14
戒
戒尺
这个chat demo 由于zphp和swoole的更新,导致有些不兼容,你可以更新https://github.com/shenzhe/zphpdemo,目前demo和todpole是完全可以运行了,chat的demo,尽期我会更新,已兼容最新的zphp和swoole
赞
0
回复
微信公众号
热门内容
作者其它话题
- swoole 多进程使用中父进程内存不断飙升,求解?
暂无回复的问答
- CodeGalaxy K3s 轻量集群节点之间如何实现负载均衡
- 关于openssl CURL WARNING swSSL_connect: SSL_connect(fd=69) failed. Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small[1|394]
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。