Ergebnis 1 bis 4 von 4

Thema: Update von 4.13.40 auf 4.13.41 schlägt fehl

  1. #1
    Contao-Urgestein
    Registriert seit
    20.09.2012.
    Ort
    Lüneburger Heide
    Beiträge
    1.992
    Partner-ID
    12207
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard Update von 4.13.40 auf 4.13.41 schlägt fehl

    Moin Zusammen,

    bei einem Upodate von Contao 4.13.40 auf 4.13.41 kommt folgender Fehler auf der Konsole:

    Code:
    18:24:42 CRITICAL  [console] Error thrown while running command "cache:warmup --env=prod --ansi". Message: "Call to undefined function Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()" ["exception" => Error { …},"command" => "cache:warmup --env=prod --ansi","message" => "Call to undefined function Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()"]
    
    In ContaoExtension.php line 193:
    
      Attempted to call function "twig_escape_filter_is_safe" from namespace "Con
      tao\CoreBundle\Twig\Extension".
    
    
    cache:warmup [--no-optional-warmers]
    
    18:24:42 CRITICAL  [console] An error occurred while using the console. Message: "An error occurred while executing the "/usr/bin/php82.wrp.cli -dmemory_limit=1536M /usr/www/users/archiv/updatexyz_de/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --ansi" command: 18:24:42 CRITICAL  [console] Error thrown while running command "cache:warmup --env=prod --ansi". Message: "Call to undefined function Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()" ["exception" => Error { …},"command" => "cache:warmup --env=prod --ansi","message" => "Call to undefined function Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()"]
    
    In ContaoExtension.php line 193:
    
      Attempted to call function "twig_escape_filter_is_safe" from namespace "Con
      tao\CoreBundle\Twig\Extension".
    
    
    cache:warmup [--no-optional-warmers]
    
    " ["exception" => RuntimeException { …},"message" => """  An error occurred while executing the "/usr/bin/php82.wrp.cli -dmemory_limit=1536M /usr/www/users/archiv/update_xyz_de/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --ansi" command: 18:24:42 \e[31mCRITICAL \e[39m \e[33m[console]\e[39m Error thrown while running command "cache:warmup --env=prod --ansi". Message: "Call to undefined function Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()" \e[0;38;5;208m[\e[m\e[0;38;5;208m"\e[38;5;113mexception\e[0;38;5;208m" => \e[38;5;38mError\e[0;38;5;208m { …},\e[m\e[0;38;5;208m"\e[38;5;113mcommand\e[0;38;5;208m" => "\e[1;38;5;113mcache:warmup --env=prod --ansi\e[0;38;5;208m",\e[m\e[0;38;5;208m"\e[38;5;113mmessage\e[0;38;5;208m" => "\e[1;38;5;113mCall to undefined function Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()\e[0;38;5;208m"\e[m\e[0;38;5;208m]\e[m\n  \n  \e[33mIn ContaoExtension.php line 193:\e[39m\n  \e[37;41m                                                                               \e[39;49m\n  \e[37;41m  Attempted to call function "twig_escape_filter_is_safe" from namespace "Con  \e[39;49m\n  \e[37;41m  tao\CoreBundle\Twig\Extension".                                              \e[39;49m\n  \e[37;41m                                                                               \e[39;49m\n  \n  \e[32mcache:warmup [--no-optional-warmers]\e[39m\n  \n  """]
    
    In ContaoSetupCommand.php line 146:
    
      An error occurred while executing the "/usr/bin/php82.wrp.cli -dmemory_limit=1536M /usr/www/users/archiv/update_xyz_de/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --ansi" command: 18:24:42 CRITICAL  [console] Error th
      rown while running command "cache:warmup --env=prod --ansi". Message: "Call to undefined function Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()" ["exception" => Error { …},
      38;5;208m"command" => "cache:warmup --env=prod --ansi","message" => "Call to undefined function Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()
      8m"]
    
      In ContaoExtension.php line 193:
    
        Attempted to call function "twig_escape_filter_is_safe" from namespace "Con
        tao\CoreBundle\Twig\Extension".
    
    
      cache:warmup [--no-optional-warmers]
    
    
    contao:setup
    
    Script @php vendor/bin/contao-setup handling the post-update-cmd event returned with error code 1
    archiv@dedi3708:~/public_html/update_xyz_de$
    Composer.json:

    Code:
    {
        "type": "project",
        "require": {
            "contao/calendar-bundle": "4.13.*",
            "contao/comments-bundle": "4.13.*",
            "contao/conflicts": "*@dev",
            "contao/faq-bundle": "4.13.*",
            "contao/listing-bundle": "4.13.*",
            "contao/manager-bundle": "4.13.*",
            "contao/news-bundle": "4.13.*",
            "contao/newsletter-bundle": "4.13.*",
            "do-while/contao-backupdb-bundle": "^1.5"
        },
        "extra": {
            "public-dir": "public",
            "contao-component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "@php vendor/bin/contao-setup"
            ],
            "post-update-cmd": [
                "@php vendor/bin/contao-setup"
            ]
        },
        "config": {
            "allow-plugins": {
                "contao-components/installer": true,
                "contao-community-alliance/composer-plugin": true,
                "contao/manager-plugin": true,
                "php-http/discovery": true
            }
        }
    }
    Ein Downgrade auf Contao 4.13.40 läuft problemlos durch.

    Kann das jemand bestätigen oder ist das Problem bekannt?

    Grüße
    Autodidakt und HobbyWebdesigner

    www.webdesign24.biz
    Screencasts zu Contao

  2. #2
    Contao-Nutzer
    Registriert seit
    06.10.2009.
    Beiträge
    99

    Standard

    Vermutlich dasselbe Problem bei Alfahosting.

    Code:
    $ /opt/plesk/php/7.4/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=Europe/Berlin /var/www/vhosts/h102551.web110.alfahosting-server.de/html/cms/c413/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.
    104 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
    Added the /var/www/vhosts/h102551.web110.alfahosting-server.de/html/cms/c413/public/app.php file.
    Added the /var/www/vhosts/h102551.web110.alfahosting-server.de/html/cms/c413/public/index.php file.
    Added the /var/www/vhosts/h102551.web110.alfahosting-server.de/html/cms/c413/public/preview.php file.
     Trying to install assets as relative symbolic links.
     --- ------------------------------- ------------------ 
          Bundle                          Method / Error    
     --- ------------------------------- ------------------ 
      ?   ContaoCoreBundle                relative symlink  
      ?   RockSolidCustomElementsBundle   relative symlink  
      ?   VotingBundle                    relative symlink  
      ?   ContaoFaqBundle                 relative symlink  
      ?   BugBusterBeUserOnlineBundle     relative symlink  
      ?   RockSolidColumnsBundle          relative symlink  
      ?   ContaoCommentsBundle            relative symlink  
      ?   SrhinowSimpleMapBundle          relative symlink  
      ?   ContaoNewsBundle                relative symlink  
      ?   RockSolidThemeAssistantBundle   relative symlink  
      ?   ContaoCalendarBundle            relative symlink  
      ?   ContaoNewsletterBundle          relative symlink  
      ?   RockSolidIconPickerBundle       relative symlink  
      ?   RockSolidSliderBundle           relative symlink  
     --- ------------------------------- ------------------ 
     [OK] All assets were successfully installed.                                   
     --- ------------------------------------------------- ---------------------------------------------------------------- 
          Symlink                                           Target / Error                                                  
     --- ------------------------------------------------- ---------------------------------------------------------------- 
      ?   public/files/uploads                              files/uploads                                                   
      ?   public/files/demo                                 files/demo                                                      
      ?   public/files/eightytwenty                         files/eightytwenty                                              
      ?   public/files/ttc/dok                              files/ttc/dok                                                   
      ?   public/files/ttc/video                            files/ttc/video                                                 
      ?   public/files/ttc/bilder                           files/ttc/bilder                                                
      ?   public/files/ttc_vorstand/foerderverein           files/ttc_vorstand/foerderverein                                
      ?   public/files/ttc_vorstand/mitgliederversammlung   files/ttc_vorstand/mitgliederversammlung                        
      ?   public/files/ttc_vorstand/protokolle              files/ttc_vorstand/protokolle                                   
      ?   system/themes/flexible                            vendor/contao/core-bundle/src/Resources/contao/themes/flexible  
      ?   public/assets                                     assets                                                          
      ?   public/system/themes                              system/themes                                                   
      ?   system/logs                                       var/logs                                                        
      ?   public/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                                                                       
    19:15:42 CRITICAL  [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "Call to undefined function Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()" ["exception" => Error { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "Call to undefined function Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()"]
    In ContaoExtension.php line 193:
                                                                                   
      Attempted to call function "twig_escape_filter_is_safe" from namespace "Con  
      tao\CoreBundle\Twig\Extension".                                              
                                                                                   
    cache:warmup [--no-optional-warmers]
    19:15:42 CRITICAL  [console] An error occurred while using the console. Message: "An error occurred while executing the "/opt/plesk/php/7.4/bin/php -dmemory_limit=-1 /var/www/vhosts/h102551.web110.alfahosting-server.de/html/cms/c413/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: 19:15:42 CRITICAL  [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "Call to undefined function Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()" ["exception" => Error { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "Call to undefined function Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()"]
    In ContaoExtension.php line 193:
                                                                                   
      Attempted to call function "twig_escape_filter_is_safe" from namespace "Con  
      tao\CoreBundle\Twig\Extension".                                              
                                                                                   
    cache:warmup [--no-optional-warmers]
    " ["exception" => RuntimeException { …},"message" => """  An error occurred while executing the "/opt/plesk/php/7.4/bin/php -dmemory_limit=-1 /var/www/vhosts/h102551.web110.alfahosting-server.de/html/cms/c413/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: 19:15:42 CRITICAL  [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "Call to undefined function Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()" ["exception" => Error { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "Call to undefined function Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()"]\n  \n  In ContaoExtension.php line 193:\n                                                                                 \n    Attempted to call function "twig_escape_filter_is_safe" from namespace "Con  \n    tao\CoreBundle\Twig\Extension".                                              \n                                                                                 \n  \n  cache:warmup [--no-optional-warmers]\n  \n  """]
    In ContaoSetupCommand.php line 146:
                                                                                   
      An error occurred while executing the "/opt/plesk/php/7.4/bin/php -dmemory_  
      limit=-1 /var/www/vhosts/h102551.web110.alfahosting-server.de/html/cms/c413  
      /vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --  
      no-ansi" command: 19:15:42 CRITICAL  [console] Error thrown while running c  
      ommand "cache:warmup --env=prod --no-ansi". Message: "Call to undefined fun  
      ction Contao\CoreBundle\Twig\Extension\twig_escape_filter_is_safe()" ["exce  
      ption" => Error { …},"command" => "cache:warmup --env=prod --no-ansi","mess  
      age" => "Call to undefined function Contao\CoreBundle\Twig\Extension\twig_e  
      scape_filter_is_safe()"]                                                     
                                                                                   
      In ContaoExtension.php line 193:                                             
                                                                                   
                                                                                   
        Attempted to call function "twig_escape_filter_is_safe" from namespace "C  
      on                                                                           
        tao\CoreBundle\Twig\Extension".                                            
                                                                                   
                                                                                   
                                                                                   
                                                                                   
      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

  3. #3
    Contao-Fan
    Registriert seit
    19.06.2009.
    Ort
    Mittelhessen
    Beiträge
    463

    Standard

    Hatte das Problem auch bei netcup und war schon am Suchen.
    Gerade nochmal alle Pakete aktualisiert und jetzt funktioniert Contao wieder.

    https://github.com/contao/contao/issues/7121

  4. #4
    Contao-Nutzer
    Registriert seit
    06.10.2009.
    Beiträge
    99

    Standard

    Jetzt klappt es bei Alfahosting. Danke für die schnelle Behebung.

Aktive Benutzer

Aktive Benutzer

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

Lesezeichen

Lesezeichen

Berechtigungen

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