用过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.
回复内容:
启动的时候出现了以下错误异常,有同学知道是什么问题吗?
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 根据啊拉伯数字转变成大写中文数字