用过zphp与swoole结合的同学进来帮我解答一下疑惑

WBOY
发布: 2016-06-06 20:28:12
原创
1587 人浏览过

启动的时候出现了以下错误异常,有同学知道是什么问题吗?

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.

回复内容:

启动的时候出现了以下错误异常,有同学知道是什么问题吗?

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.

相关标签:
php
来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板