Ergebnis 1 bis 5 von 5

Thema: Fehler beim installieren in Contao Manager unter 4.13.16 mit PHP 8.0

  1. #1
    Contao-Fan
    Registriert seit
    20.06.2009.
    Ort
    Küps
    Beiträge
    363

    Standard Fehler beim installieren in Contao Manager unter 4.13.16 mit PHP 8.0

    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

  2. #2
    Alter Contao-Hase Avatar von kischd
    Registriert seit
    25.06.2009.
    Ort
    Karlsruhe
    Beiträge
    1.128

    Standard

    Ich weiß nicht ob das auch mit dem was zu tun hat:
    https://community.contao.org/de/show...t-installieren

    Ich wollte die Erweiterung auch gerade installieren, im Contao-Manager lief die Installation ohne Fehlermeldung durch.
    Installiert wurde aber nichts.
    Gruß Mark

  3. #3
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    35.517
    Partner-ID
    10107

    Standard

    Zuerst mal hier ein Issue erstellen: https://github.com/netzmacht/contao-leaflet-maps/issues
    » sponsor me via GitHub or PayPal or Revolut

  4. #4
    Alter Contao-Hase Avatar von kischd
    Registriert seit
    25.06.2009.
    Ort
    Karlsruhe
    Beiträge
    1.128

    Standard

    Zuerst mal hier ein Issue erstellen: https://github.com/netzmacht/contao-leaflet-maps/issues
    erledigt
    Gruß Mark

  5. #5
    Contao-Nutzer
    Registriert seit
    14.12.2018.
    Beiträge
    25

    Standard

    Vielen Dank für die Erstellung des Issues, der ist ja jetzt, wenn ich das richtig sehe, auch als Bug "anerkannt". Bei mir stehen inzwischen drei Installationen in der Pipe, die alle auf Leaflet Maps warten, ist schon absehbar, wann der Bug gefixed wird, oder gibt es einen Workaround, um trotzdem Leaflet installieren zu können? Treten die Probleme mit Contao 5 auch auf?

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •