我今天已经从L5.5升级到了L5.6 (在此过程中将Symfony组件更新为v4 )。此外,我已经更新了fideloper/proxy软件包到4.0作为官方的Laravel5.6升级指南。
在那之后,我开始得到这个错误:Type error: Argument 2 passed to Symfony\Component\HttpFoundation\Request::setTrustedProxies() must be of the type integer, array given, called in /var/www/html/vendor/fideloper/proxy/src/Tr