symfony framework.trusted_proxies" configuration key has been removed -- Обновление с 3.2 на 3.3 Ошибка

Проблема возникает после команды обновления.

[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command:
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Th
e "framework.trusted_proxies" configuration key has been removed in Symfony
3.3. Use the Request::setTrustedProxies() method in your front controller
instead.' in /var/www/imgpool/vendor/symfony/symfony/src/Symfony/Component/
Config/Definition/Builder/ExprBuilder.php:204

Решение

Открываем файл:
app/config/config.yml

И там удаляем там строку с trusted_proxies

-- т.е. было так:

    trusted_hosts: ~
    trusted_proxies: ~

а стало так:

    trusted_hosts: ~

(особенно если у вас там тильда и вы не используете этот параметр)

Источник: https://knpuniversity.com/screencast/sym...

Key Words for FKN + antitotal forum (CS VSU):