Closed Kahmoon closed 3 years ago
I assume symfony 5 is installed? Seams like this is the problem. I will look into it
I don´t know which symfony is installed sorry. Its a IONOS Hosting.
Symfony is the framework, which contao uses. It has nothing to do with your hosting. But we already locked the config component to 4.4. You could check your installed bundle versions with composer show, I think it is also possible in contao manager. maybe you just need to update the utils bundle to the latests version.
How can i update utils to the latest version? I don´t have it in my composer.json. It is probably a dependecie
composer update heimrichhannot/contao-utils-bundle or just composer update
Nope. That did not help in the first place. i copied my composer.json from dev system and updated all packages twice. Now it seems to be online again with a working 4.11
puh!!!
:-)
Wow, you did update a production system without testing?
No no, at the staging system there was no error! :-(
But still very strange. Do you use the contao manager? Aren't the installed bundle versions visible there?
I don´t use console at all. Everything i do is via contao manager. I cannot see contao-utils-bundle there
Ok, I just checked in contao manager: you could go to packages -> {bundle} -> details ->requirements -> {bundle} -> details, there are the current installed version is shown.
Actually i got the same error at another installation at another hosting (All-Inkl). Also vom 4.10.7 to 4.11
This module is at every installation where i get those errors.
I just tried and found a dependency issue, but it's not the utils bundle itself, but a dependency of it. I will look into it and report back. In the meantime I would recommend not to upgrade to 4.11.
@Kahmoon The issue wasn't with the dependency I thought, it was a missing symfony dependency in this bundle. I just release 2.188.10, which should fix this issue.
This still allows an update path to 2.188.9
with Symfony 5, as the package previously had no dependency on smyfony/config
. To fix this, you might need to manually add
"conflict": {
"heimrichhannot/contao-utils-bundle": "<2.188.10"
},
to your composer.json
.
Hi I have written a bundle that requires "heimrichhannot/contao-fieldpalette-bundle": "~0.5.1".
This in turn requires contao-utils-bundle which leads to this problem.
I think the conflict in my composer.json is too late here because Contao has already taken a higher version of Symfony.
Any ideas? Many thanks for the help.
In my bundle I have this:
"require": { "php": ">=7.0", "contao/core-bundle": "^4.4", "heimrichhannot/contao-fieldpalette-bundle": "~0.5.1", "symfony/serializer": "*", "ext-dom": "*", "ext-json": "*", "ext-curl": "*", "ext-gettext": "*", "doctrine/data-fixtures": "*", "doctrine/dbal": "*" }, "conflict": { "contao/core": "*", "heimrichhannot/contao-utils-bundle": "<2.188.10" },
@luhmannAlexander We have already symfony 5 support in newer utils-bundle versions, ~you should try remove the conflict entry from your composer.json~.
I also think we can close this issue here, as the issue should be fixed, the author doesn't respond and the solution is out of date.
@luhmannAlexander Ok, the conflict shouldn't be a problem. Please open a new issue with more information about your problem.
This in turn requires contao-utils-bundle which leads to this problem.
Which problem exactly? Always post the console output (in your new issue).
Context Contao version: 4.10.7 to 4.11 Bundle version: PHP version: 7.4
When updating my installation to 4.11 the page goes offline with error 500
composer .json
Description