hallo,
auf der console bekomme ich beim update auf C4.9.10 den fehler
"Compile Error: Cannot declare class tl_slick_spread, because the name is already in use"
Code:
/home/sisafdbn$ /usr/local/pd-admin2/bin/php-7.4-cli -c /home/sisafdbn/php.ini composer.phar update
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
89 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
contao/manager-plugin: Generating plugin class...
contao/manager-plugin: ...done generating plugin class
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Added the web/app.php file.
Added the web/index.php file.
Added the web/preview.php file.
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
// Clearing the cache for the dev environment with debug
// true
[OK] Cache for the "dev" environment (debug=true) was successfully cleared.
// Warming up the cache for the prod environment with debug
// false
PHP Fatal error: Cannot declare class tl_slick_spread, because the name is already in use in /home/sisafdbnvendor/heimrichhannot/contao-slick-bundle/src/Resources/contao/dca/tl_slick_spread.php on line 756
In tl_slick_spread.php line 756:
Compile Error: Cannot declare class tl_slick_spread, because the name is al
ready in use
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--] <command>
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-update-cmd event terminated with an exception
[RuntimeException]
An error occurred while executing the "cache:warmup" command: PHP Fatal error: Cannot declare class tl_slick_spread, because the name is already in use in /home/sisafdbn/vendor/heimrichhannot/contao-slick-bundle/src/Resources/contao/dca/tl_slick_spread.php on line 756
In tl_slick_spread.php line 756:
Compile Error: Cannot declare class tl_slick_spread, because the name is al
ready in use
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--] <command>
update [--with WITH] [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-autoloader] [--no-scripts] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
meine composer.json sieht so aus:
Code:
{
"name": "contao/managed-edition",
"type": "project",
"description": "Contao Open Source CMS",
"license": "LGPL-3.0-or-later",
"authors": [
{
"name": "Leo Feyer",
"homepage": "https://github.com/leofeyer"
}
],
"require": {
"php": "^7.1",
"contao/listing-bundle": "^4.9",
"contao/manager-bundle": "4.9.*",
"contao/calendar-bundle": "^4.9",
"contao/news-bundle": "^4.9",
"contao/faq-bundle": "^4.9",
"craffft/css-style-selector-bundle": "^1.6",
"madeyourday/contao-rocksolid-custom-elements": "^2.2",
"madeyourday/contao-rocksolid-columns": "^2.0",
"madeyourday/contao-rocksolid-icon-picker": "^2.0",
"omosde/contao-om-backend": "^1.6",
"heimrichhannot/contao-slick-bundle": "^1.5",
"do-while/contao-backupdb-bundle": "^1.4",
"jrgregory/m17-sticky-backend-footer": "^2.0",
"codefog/contao-mobile_menu": "^2.7"
},
"conflict": {
"contao-components/installer": "<1.3",
"contao/core-bundle": "<4.4.8"
},
"extra": {
"branch-alias": {
"dev-4.4": "4.4.x-dev"
},
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
wo kann ich da ansetzen?
ich komme nicht mehr ins system.
slick-slider wird auch tatsächlich verwendet, so dass ich das paket nicht einfach 'rausnehmen kann...
Lesezeichen