After the update I started receiving an error in my requests (only for production):
The Symfony\\Component\\HttpFoundation\\Request::setTrustedProxies() method expects a bit field of Request::HEADER_* as second argument. Defining it is required since version 3.3. See http://symfony.com/doc/current/components/http_foundation/trusting_proxies.html for more info.
Apparently one modification in a Symfony method broke a method of the library, this method of Symfony is:
setTrustedProxies
Which is used in this line:
Request::setTrustedProxies([$request->getClientIp()]);
In the new version of Symfony it is REQUIRED a second argument to the method setTrustedProxies.
I temporarily fixed it with:
Request::setTrustedProxies([$request->getClientIp()], Request::HEADER_X_FORWARDED_ALL);
After the update I started receiving an error in my requests (only for production):
The Symfony\\Component\\HttpFoundation\\Request::setTrustedProxies() method expects a bit field of Request::HEADER_* as second argument. Defining it is required since version 3.3. See http://symfony.com/doc/current/components/http_foundation/trusting_proxies.html for more info.Apparently one modification in a Symfony method broke a method of the library, this method of Symfony is:
setTrustedProxiesWhich is used in this line:
Request::setTrustedProxies([$request->getClientIp()]);In the new version of Symfony it is REQUIRED a second argument to the method setTrustedProxies.
I temporarily fixed it with:
Request::setTrustedProxies([$request->getClientIp()], Request::HEADER_X_FORWARDED_ALL);