Я обновил свой веб-сайт Contao с версии 4.13.38 до версии 5.3.1. Все прошло успешно, Contao Manager работает нормально, но сайт не работает. Ошибка регистрируется в var/logs и указывает на несуществующую службу "contao.image.image_sizes":
Код: Выделить всё
Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: "You have requested a non-existent service "contao.image.image_sizes". Did you mean one of these: "contao.image.imagine", "contao.image.imagine_svg", "contao.image.resizer", "contao.image.sizes"?" at Container.php line 263
{
"exception":
"[object] (Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException(code: 0): You have requested a non-existent service "contao.image.image_sizes". Did you mean one of these: "contao.image.imagine", "contao.image.imagine_svg", "contao.image.resizer", "contao.image.sizes"? at /opt/testportal/vendor/symfony/dependency-injection/Container.php:263)"
}
{
"request_uri": "https://testportal/contao/login",
"request_method": "GET"
}
What could be the problem here? I searched for solution in Internet, but although there were similar questions, I didn't find real solution.
Beside contao-core bundles, there are rocksolidthemes (madeyourday) plugins installed and upgraded.
Источник: https://stackoverflow.com/questions/781 ... he-upgrade
Мобильная версия