We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 版本:7.1.7 overtrue/wechat 版本:4.0 是否使用了框架?框架名称:Lumen 5.5
出现以下报错:
(1/1) FatalThrowableError Call to undefined method Laravel\Lumen\Application::group()
找到绑定路由的地方:
$router = isset($this->app['router']) ? $this->app['router'] : $this->app;
修改成如下后解决:
$router = isset($this->app->router) ? $this->app->router : $this->app;
刚学习Lumen,只能凑合着改,不知道为何出错为何要这样改 - -。
求解答。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我用的环境
PHP 版本:7.1.7
overtrue/wechat 版本:4.0
是否使用了框架?框架名称:Lumen 5.5
问题及现象
出现以下报错:
找到绑定路由的地方:
修改成如下后解决:
刚学习Lumen,只能凑合着改,不知道为何出错为何要这样改 - -。
求解答。
The text was updated successfully, but these errors were encountered: