Will gerade Lealet maps installieren
Habe nun schon die aktuelle und die 2 Vorgänger versucht zu installieren. Bekomme aber immer diesen Fehler:
Code:
/usr/bin/php8.0 -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 /var/www/html/WerbeGemeinschaft-Projekt/web/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.
Package operations: 9 installs, 2 updates, 0 removals
- Downgrading symfony/event-dispatcher-contracts (v3.0.2 => v2.5.2): Extracting archive
- Downgrading symfony/templating (v6.0.19 => v5.4.21): Extracting archive
- Installing netzmacht/php-javascript-builder (1.0.3): Extracting archive
- Installing netzmacht/php-leaflet (1.1.3): Extracting archive
- Installing netzmacht/contao-toolkit (3.8.2): Extracting archive
- Installing netzmacht/contao-page-context (1.1.1): Extracting archive
- Installing netzmacht/contao-leaflet-libraries (1.9.3.0): Extracting archive
- Installing netzmacht/contao-leaflet-geocode-widget (1.4.0): Extracting archive
- Installing menatwork/contao-multicolumnwizard-bundle (3.5.9): Extracting archive
- Installing contao-community-alliance/meta-palettes (2.1.2): Extracting archive
- Installing netzmacht/contao-leaflet-maps (3.2.4): Extracting archive
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.
contao/manager-plugin: Dumping generated plugins file...
contao/manager-plugin: ...done dumping generated plugins file
112 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php vendor/bin/contao-setup
Added the /var/www/html/WerbeGemeinschaft-Projekt/web/preview.php file.
Added the /var/www/html/WerbeGemeinschaft-Projekt/web/app.php file.
Added the /var/www/html/WerbeGemeinschaft-Projekt/web/index.php file.
Trying to install assets as relative symbolic links.
--- ------------------------------ ------------------
Bundle Method / Error
--- ------------------------------ ------------------
? ContaoCoreBundle relative symlink
? LeafletGeocodeWidgetBundle relative symlink
? ContaoCookiebar relative symlink
? MultiColumnWizardBundle relative symlink
? ContaoFaqBundle relative symlink
? ContaoCommentsBundle relative symlink
? ContaoNewsBundle relative symlink
? ContaoCalendarBundle relative symlink
? ContaoNewsletterBundle relative symlink
? NetzmachtContaoLeafletBundle relative symlink
--- ------------------------------ ------------------
[OK] All assets were successfully installed.
--- ---------------------------------------- ----------------------------------------------------------------
Symlink Target / Error
--- ---------------------------------------- ----------------------------------------------------------------
? system/themes/flexible vendor/contao/core-bundle/src/Resources/contao/themes/flexible
? web/assets assets
? web/system/themes system/themes
? system/logs var/logs
? web/vendor/scrivo/highlight_php/styles vendor/scrivo/highlight.php/styles
--- ---------------------------------------- ----------------------------------------------------------------
// 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 Warning: Undefined array key "LEAFLET_LIBRARIES" in /var/www/html/WerbeGemeinschaft-Projekt/vendor/netzmacht/contao-leaflet-maps/src/Frontend/Assets/LibrariesConfiguration.php on line 54
20:06:21 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "ArrayIterator::__construct(): Argument #1 ($array) must be of type array, null given" ["exception" => TypeError { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "ArrayIterator::__construct(): Argument #1 ($array) must be of type array, null given"]
In LibrariesConfiguration.php line 54:
ArrayIterator::__construct(): Argument #1 ($array) must be of type array, n
ull given
cache:warmup [--no-optional-warmers]
20:06:21 CRITICAL [console] An error occurred while using the console. Message: "An error occurred while executing the "/usr/bin/php8.0 -dmemory_limit=-1 /var/www/html/WerbeGemeinschaft-Projekt/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: PHP Warning: Undefined array key "LEAFLET_LIBRARIES" in /var/www/html/WerbeGemeinschaft-Projekt/vendor/netzmacht/contao-leaflet-maps/src/Frontend/Assets/LibrariesConfiguration.php on line 54
20:06:21 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "ArrayIterator::__construct(): Argument #1 ($array) must be of type array, null given" ["exception" => TypeError { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "ArrayIterator::__construct(): Argument #1 ($array) must be of type array, null given"]
In LibrariesConfiguration.php line 54:
ArrayIterator::__construct(): Argument #1 ($array) must be of type array, n
ull given
cache:warmup [--no-optional-warmers]
" ["exception" => RuntimeException { …},"message" => """ An error occurred while executing the "/usr/bin/php8.0 -dmemory_limit=-1 /var/www/html/WerbeGemeinschaft-Projekt/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: PHP Warning: Undefined array key "LEAFLET_LIBRARIES" in /var/www/html/WerbeGemeinschaft-Projekt/vendor/netzmacht/contao-leaflet-maps/src/Frontend/Assets/LibrariesConfiguration.php on line 54\n 20:06:21 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "ArrayIterator::__construct(): Argument #1 ($array) must be of type array, null given" ["exception" => TypeError { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "ArrayIterator::__construct(): Argument #1 ($array) must be of type array, null given"]\n \n In LibrariesConfiguration.php line 54:\n \n ArrayIterator::__construct(): Argument #1 ($array) must be of type array, n \n ull given \n \n \n cache:warmup [--no-optional-warmers]\n \n """]
In ContaoSetupCommand.php line 120:
An error occurred while executing the "/usr/bin/php8.0 -dmemory_limit=-1 /v
ar/www/html/WerbeGemeinschaft-Projekt/vendor/contao/manager-bundle/bin/cont
ao-console cache:warmup --env=prod --no-ansi" command: PHP Warning: Undefi
ned array key "LEAFLET_LIBRARIES" in /var/www/html/WerbeGemeinschaft-Projek
t/vendor/netzmacht/contao-leaflet-maps/src/Frontend/Assets/LibrariesConfigu
ration.php on line 54
20:06:21 CRITICAL [console] Error thrown while running command "cache:warm
up --env=prod --no-ansi". Message: "ArrayIterator::__construct(): Argument
#1 ($array) must be of type array, null given" ["exception" => TypeError {
…},"command" => "cache:warmup --env=prod --no-ansi","message" => "ArrayIter
ator::__construct(): Argument #1 ($array) must be of type array, null given
"]
In LibrariesConfiguration.php line 54:
ArrayIterator::__construct(): Argument #1 ($array) must be of type array,
n
ull given
cache:warmup [--no-optional-warmers]
contao:setup
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
er hat Probleme mit den Libs von Leaflet wer kann mir sagen was ich machen kann