Gha*_*ein 5 php logging laravel
我遇到了这个问题,但无法找到任何解决方案,请帮助:
Symfony\Component\Debug\Exception\FatalErrorException消息异常Call to a member function parameters() on a non-object
错误位于:“$route->parameters()”
protected function substituteBindings($route)
{
foreach ($route->parameters() as $key => $value)
{
if (isset($this->binders[$key]))
{
$route->setParameter($key, $this->performBinding($key, $value, $route));
}
}
return $route;
}
Run Code Online (Sandbox Code Playgroud)
每当我使用该应用程序时,都会收到大量相同的错误。有什么建议么?
我认为你升级了你的 Laravel!我不知道为什么,但如果你SubstituteBindings从$middleware和webat 中删除app\Http\Middlewares\Kernel.php,一切都会起作用!
| 归档时间: |
|
| 查看次数: |
10169 次 |
| 最近记录: |