Upgrade auf 0.6.6 schlägt fehl
Zitat:
Zitat von
zoglo
Wenn, musst du ^0.6 requiren, dann sollte es klappen.
5.3.43
Wenn ich ^0.6 require läuft im Testlauf alles durch, bei dem Upgrade dann gibt es eine Fehlermeldung.
Code:
$ /usr/bin/php8.3 -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=Europe/Berlin /home/www/besser-zum-druck.de/public/contao-manager.phar.php composer require markocupic/contao-altcha-antispam=^0.6 --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
/home/www/besser-zum-druck.de/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
> Resolving dependencies using Composer Cloud v3.8.2
[7.5MiB/0.22s] Loading composer repositories with package information
[105.3MiB/20.11s] Updating dependencies
[37.5MiB/22.52s] Lock file operations: 0 installs, 1 update, 0 removals
[37.5MiB/22.52s] - Upgrading markocupic/contao-altcha-antispam (0.4.13 => 0.6.6)
[36.7MiB/22.54s] Writing lock file
[21.9MiB/22.57s] <warning>Package doctrine/annotations is abandoned, you should avoid using it. No replacement was suggested.</warning>
[21.9MiB/22.57s] <warning>Package doctrine/cache is abandoned, you should avoid using it. No replacement was suggested.</warning>
[21.9MiB/22.57s] <warning>Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.</warning>
[22.1MiB/22.82s] No security vulnerability advisories found.
[22.6MiB/22.83s] Memory usage: 22.65MB (peak: 243.68MB), time: 22.83s.
[22.6MiB/22.83s] Finished Composer Cloud resolving.
# Job ID NuIpHMzzfUgQwNNcViIou9KWphrKAdvRJUVCDHaOm8Mc0eFb9xMBm4OdrQ5HxaOJx completed in 18 seconds
# Memory usage: 22.65MB (peak: 243.68MB), time: 22.83s.
$ /usr/bin/php8.3 -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=Europe/Berlin /home/www/besser-zum-druck.de/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 doctrine/annotations is abandoned, you should avoid using it. No replacement was suggested.
Package doctrine/cache is abandoned, you should avoid using it. No replacement was suggested.
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Generating optimized autoload files
contao/manager-plugin: Dumping generated plugins file...
contao/manager-plugin: ...done dumping generated plugins file
126 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php vendor/bin/contao-setup
In ArrayNode.php line 327:
Unrecognized option "hmac_key" under "markocupic_contao_altcha_antispam". A
vailable options are "algorithm", "challenge_expiry", "delay", "honeypot_fi
eldname_pool", "range_max", "range_min".
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Bundle\BundlePluginInterface::getBundles()" might add "array" as a native return type declaration in the future. Do the same in implementation "Codefog\HasteBundle\ContaoManager\Plugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Bundle\BundlePluginInterface::getBundles()" might add "array" as a native return type declaration in the future. Do the same in implementation "Softleister\BackupDbBundle\ContaoManager\Plugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Routing\RoutingPluginInterface::getRouteCollection()" might add "?RouteCollection" as a native return type declaration in the future. Do the same in implementation "Softleister\BackupDbBundle\ContaoManager\Plugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Bundle\BundlePluginInterface::getBundles()" might add "array" as a native return type declaration in the future. Do the same in implementation "MadeYourDay\RockSolidAntispam\ContaoManagerPlugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Bundle\BundlePluginInterface::getBundles()" might add "array" as a native return type declaration in the future. Do the same in implementation "MadeYourDay\RockSolidColumns\ContaoManagerPlugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Bundle\BundlePluginInterface::getBundles()" might add "array" as a native return type declaration in the future. Do the same in implementation "MadeYourDay\RockSolidCustomElements\ContaoManagerPlugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Bundle\BundlePluginInterface::getBundles()" might add "array" as a native return type declaration in the future. Do the same in implementation "MadeYourDay\RockSolidFrontendHelper\ContaoManagerPlugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Routing\RoutingPluginInterface::getRouteCollection()" might add "?RouteCollection" as a native return type declaration in the future. Do the same in implementation "MadeYourDay\RockSolidFrontendHelper\ContaoManagerPlugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Bundle\BundlePluginInterface::getBundles()" might add "array" as a native return type declaration in the future. Do the same in implementation "MadeYourDay\RockSolidIconPicker\ContaoManagerPlugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Bundle\BundlePluginInterface::getBundles()" might add "array" as a native return type declaration in the future. Do the same in implementation "MadeYourDay\RockSolidMegaMenu\ContaoManagerPlugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Bundle\BundlePluginInterface::getBundles()" might add "array" as a native return type declaration in the future. Do the same in implementation "MadeYourDay\RockSolidSlider\ContaoManagerPlugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Bundle\BundlePluginInterface::getBundles()" might add "array" as a native return type declaration in the future. Do the same in implementation "MadeYourDay\RockSolidThemeAssistant\ContaoManagerPlugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Routing\RoutingPluginInterface::getRouteCollection()" might add "?RouteCollection" as a native return type declaration in the future. Do the same in implementation "Terminal42\LeadsBundle\ContaoManager\Plugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Routing\RoutingPluginInterface::getRouteCollection()" might add "?RouteCollection" as a native return type declaration in the future. Do the same in implementation "Terminal42\NotificationCenterBundle\ContaoManager\Plugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Bundle\BundlePluginInterface::getBundles()" might add "array" as a native return type declaration in the future. Do the same in implementation "Xenbyte\ContaoEtracker\ContaoManager\Plugin" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()" might add "void" as a native return type declaration in the future. Do the same in child class "MadeYourDay\RockSolidFrontendHelper\RockSolidFrontendHelperBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Symfony\Component\DependencyInjection\Extension\ExtensionInterface::load()" might add "void" as a native return type declaration in the future. Do the same in implementation "MadeYourDay\RockSolidCustomElements\DependencyInjection\RockSolidCustomElementsExtension" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Symfony\Component\DependencyInjection\Extension\ExtensionInterface::load()" might add "void" as a native return type declaration in the future. Do the same in implementation "MenAtWork\MultiColumnWizardBundle\DependencyInjection\MultiColumnWizardExtension" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Symfony\Component\DependencyInjection\Extension\ExtensionInterface::load()" might add "void" as a native return type declaration in the future. Do the same in implementation "MadeYourDay\RockSolidFrontendHelper\DependencyInjection\RockSolidFrontendHelperExtension" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Symfony\Component\DependencyInjection\Extension\ExtensionInterface::load()" might add "void" as a native return type declaration in the future. Do the same in implementation "MadeYourDay\RockSolidMegaMenu\DependencyInjection\RockSolidMegaMenuExtension" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Method "Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::process()" might add "void" as a native return type declaration in the future. Do the same in implementation "MadeYourDay\RockSolidFrontendHelper\DependencyInjection\Compiler\ElementProviderPass" now to avoid errors or add an explicit @return annotation to suppress this message.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Since contao/manager-bundle 5.0: Using a parameters.yml file has been deprecated and will no longer work in Contao 6. Use a parameters.yaml file instead
2025-12-12T09:44:29+01:00 [info] User Deprecated: Since contao/manager-bundle 5.0: Using a config.yml file has been deprecated and will no longer work in Contao 6. Use a config.yaml file instead
2025-12-12T09:44:29+01:00 [info] User Deprecated: The default value of "doctrine.orm.controller_resolver.auto_mapping" will be changed from `true` to `false`. Explicitly configure `true` to keep existing behaviour. (DoctrineExtension.php:923 called by DoctrineExtension.php:541, https://github.com/doctrine/DoctrineBundle/pull/1762, package doctrine/doctrine-bundle)
2025-12-12T09:44:29+01:00 [info] User Deprecated: Enabling the controller resolver automapping feature has been deprecated. Symfony Mapped Route Parameters should be used as replacement. (DoctrineExtension.php:932 called by DoctrineExtension.php:541, https://github.com/doctrine/DoctrineBundle/pull/1804, package doctrine/doctrine-bundle)
2025-12-12T09:44:29+01:00 [info] User Deprecated: Since symfony/framework-bundle 6.1: Not setting the "framework.http_method_override" config option is deprecated. It will default to "false" in 7.0.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Since symfony/framework-bundle 6.4: Enabling the integration of Doctrine annotations is deprecated. Set the "framework.annotations.enabled" config option to false.
2025-12-12T09:44:29+01:00 [info] User Deprecated: Since nelmio/security-bundle 3.4.0: The "xss_protection" option is deprecated, use Content Security Policy without allowing "unsafe-inline" scripts instead.
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
Muss ich vor dem Upgrade die config.yml ändern?
in
markocupic_contao_altcha_antispam:
range_min: 290000
range_max: 300000
# hmac_key: xyz // Nicht mehr nötig
Danke