Hallo, ich habe meine Installation auf 4.9.36 upgedated um auf PHP 8 umstellen zu können. Allerdings wird mir nach Umstellung ein Fehler ausgegeben:
[2023-01-14 12:50:55] request.CRITICAL: Uncaught PHP Exception TypeError: "count(): Argument #1 ($value) must be of type Countable|array, null given" at /mnt/web109/b0/19/525619/htdocs/contao4neu/vendor/cliffparnitzky/tiny-mce-plugin-loader/system/modules/TinyMcePluginLoader/classes/TinyMcePluginLoader.php line 51 {"exception":"[object] (TypeError(code: 0): count(): Argument #1 ($value) must be of type Countable|array, null given at /mnt/web109/b0/19/525619/htdocs/contao4neu/vendor/cliffparnitzky/tiny-mce-plugin-loader/system/modules/TinyMcePluginLoader/classes/TinyMcePluginLoader.php:51)"} []
Wenn ich versuche den plugin-loader upzudaten, geht das nicht. Fehlermeldung:
composer update cliffparnitzky/tiny-mce-plugin-loader contao/conflicts --no-install --no-scripts
> Resolving dependencies using Composer Cloud v3.5.1
[6.9MiB/0.18s] Loading composer repositories with package information
[63.7MiB/7.69s] Updating dependencies
[79.9MiB/7.90s] Your requirements could not be resolved to an installable set of packages.
[79.9MiB/7.90s]
Problem 1
- Root composer.json requires cliffparnitzky/tiny-mce-plugin-loader ^2.2.0 -> satisfiable by cliffparnitzky/tiny-mce-plugin-loader[2.2.0].
- cliffparnitzky/tiny-mce-plugin-loader 2.2.0 requires contao/core-bundle ~4.13 -> found contao/core-bundle[4.13.0, ..., 4.13.15] but these were not loaded, likely because it conflicts with another require.
Problem 2
- cliffparnitzky/tiny-mce-plugin-loader 2.2.0 requires contao/core-bundle ~4.13 -> found contao/core-bundle[4.13.0, ..., 4.13.15] but these were not loaded, likely because it conflicts with another require.
- cliffparnitzky/tiny-mce-link-lightbox 1.0.1 requires cliffparnitzky/tiny-mce-plugin-loader ~2.1 -> satisfiable by cliffparnitzky/tiny-mce-plugin-loader[2.2.0].
- cliffparnitzky/tiny-mce-link-lightbox is locked to version 1.0.1 and an update of this package was not requested.
[79.9MiB/7.90s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
[36.6MiB/7.93s] Memory usage: 36.56MB (peak: 179.77MB), time: 7.94s.
[36.6MiB/7.93s] Finished Composer Cloud resolving.
OK, braucht wohl Contao 4.13. Leider kann ich den Plugin-Loader auch nicht über den Contao Manager löschen. Wie kann ich den loswerden ohne Spätschäden?
Lesezeichen