4.13.39 Cannot autowire service "HeimrichHannot\FilenameSanitizerBundle
Hallo zusammen,
Beim update von 4.13.37 auf .39 hat sich der Filenamesanitizer vom HeimrichHannot nicht mit aktualisieren können.
Code:
Cannot autowire service "HeimrichHannot\FilenameSanitizerBundle\Util\Filena
meSanitizerUtil": argument "$containerUtil" of method "__construct()" has t
ype "HeimrichHannot\UtilsBundle\Container\ContainerUtil" but this class was
not found.
Die komplette Konsolenausgabe unten ist von meiner lokalen Umgebung, war auf dem Liveserver mit php82 und contao413 dasselbe.
Hat jemand einen Tipp für mich?
Viele Grüße
conter
Code:
$ /opt/homebrew/Cellar/php@8.2/8.2.17/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=UTC /Users/admin/Sites/contao413-02/v1/public/contao-manager.phar.php composer require heimrichhannot/contao-filename-sanitizer-bundle --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
Using version ^2.4 for heimrichhannot/contao-filename-sanitizer-bundle
/Users/admin/Sites/contao413-02/v1/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
> Resolving dependencies using Composer Cloud v3.7.0
[6.9MiB/0.27s] Loading composer repositories with package information
[84.8MiB/15.22s] Updating dependencies
[30.1MiB/15.72s] Lock file operations: 6 installs, 2 updates, 0 removals
[30.1MiB/15.72s] - Upgrading contao-components/ace (1.32.7 => 1.32.9)
[30.1MiB/15.72s] - Locking heimrichhannot-contao-components/sortablejs (1.8.4)
[30.1MiB/15.72s] - Locking heimrichhannot/contao-ajax-bundle (1.5.0)
[30.1MiB/15.72s] - Locking heimrichhannot/contao-encore-contracts (1.0.2)
[30.1MiB/15.72s] - Locking heimrichhannot/contao-filename-sanitizer-bundle (2.4.1)
[30.1MiB/15.72s] - Locking heimrichhannot/contao-multi-column-editor-bundle (2.20.0)
[30.1MiB/15.72s] - Locking heimrichhannot/contao-utils-bundle (3.3.0)
[30.1MiB/15.72s] - Upgrading php-http/discovery (1.19.2 => 1.19.4)
[29.4MiB/15.74s] Writing lock file
[13.6MiB/15.77s] Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
[13.8MiB/16.05s] No security vulnerability advisories found.
[14.3MiB/16.05s] Memory usage: 14.31MB (peak: 223.83MB), time: 16.06s.
[14.3MiB/16.06s] Finished Composer Cloud resolving.
# Job ID s3dnmwoJb6wFnWquvBmbYjc9IifOOSafGFvPAFWKcOqV8GtPVkerL0Ixeqq3yhYbvrIBDQOw34Mw8xarNjpM9MyF5GG completed in 14 seconds
# Memory usage: 14.31MB (peak: 223.83MB), time: 16.06s.
$ /opt/homebrew/Cellar/php@8.2/8.2.17/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=UTC /Users/admin/Sites/contao413-02/v1/public/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Generating optimized autoload files
Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
109 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
contao/manager-plugin: Dumping generated plugins file...
contao/manager-plugin: ...done dumping generated plugins file
> @php vendor/bin/contao-setup
In DefinitionErrorExceptionPass.php line 49:
Cannot autowire service "HeimrichHannot\FilenameSanitizerBundle\Util\Filena
meSanitizerUtil": argument "$containerUtil" of method "__construct()" has t
ype "HeimrichHannot\UtilsBundle\Container\ContainerUtil" but this class was
not found.
Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 1
# Process terminated with exit code 1
# Result: General error