Contao-Camp 2024
Ergebnis 1 bis 6 von 6

Thema: Fehler nach Update von 4.7 zu 4.8.3

  1. #1
    Contao-Fan Avatar von Grossvater
    Registriert seit
    20.02.2013.
    Beiträge
    509

    Standard Fehler nach Update von 4.7 zu 4.8.3

    Hallo, ich habe ein Update von Contao 4.7 zu 4.8.3 machen wollen und erhalte folgenden Fehler, nach dem Aufrufen des Frontends:

    PHP 7.3
    Contao 4.8.3

    Code:
    [13-Sep-2019 08:36:35 Europe/Berlin] PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Argument 1 passed to Contao\CoreBundle\Fragment\FragmentRegistry::get() must be of the type string, object given, called in /Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/HttpKernel/ControllerResolver.php on line 43 in /Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/Fragment/FragmentRegistry.php:54
    Stack trace:
    #0 /Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/HttpKernel/ControllerResolver.php(43): Contao\CoreBundle\Fragment\FragmentRegistry->get(Object(Closure))
    #1 /Applications/MAMP/htdocs/xxx/vendor/symfony/http-kernel/HttpKernel.php(134): Contao\CoreBundle\HttpKernel\ControllerResolver->getController(Object(Symfony\Component\HttpFoundation\Request))
    #2 /Applications/MAMP/htdocs/xxx/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 2)
    #3 /Applica in /Applications/MAMP/htdocs/xxxn/vendor/contao/core-bundle/src/Fragment/FragmentRegistry.php on line 54
    [13-Sep-2019 08:36:36 Europe/Berlin] PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Argument 1 passed to Contao\CoreBundle\Fragment\FragmentRegistry::get() must be of the type string, object given, called in /Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/HttpKernel/ControllerResolver.php on line 43 in /Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/Fragment/FragmentRegistry.php:54
    Stack trace:
    #0 /Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/HttpKernel/ControllerResolver.php(43): Contao\CoreBundle\Fragment\FragmentRegistry->get(Object(Closure))
    #1 /Applications/MAMP/htdocs/xxx/vendor/symfony/http-kernel/HttpKernel.php(134): Contao\CoreBundle\HttpKernel\ControllerResolver->getController(Object(Symfony\Component\HttpFoundation\Request))
    #2 /Applications/MAMP/htdocs/xxx/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 2)
    #3 /Applica in /Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/Fragment/FragmentRegistry.php on line 54
    schon während der installation kam es zu einigen Ungereimtheiten (lief aber vollständig durch):

    Code:
    $ /Applications/MAMP/bin/php/php7.3.8/bin/php '-q' '/Applications/MAMP/htdocs/xxx/web/contao-manager.phar.php' 'composer' 'require' 'contao/manager-bundle=4.8.*' '--no-suggest' '--no-update' '--no-scripts' '--prefer-stable' '--sort-packages' '--no-ansi' '--no-interaction' 2>&1
    
    /Applications/MAMP/htdocs/xxx/composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    > Resolving dependencies using Composer Cloud v2.0.11
    
    # Job ID cNxg7TC1NG0Mq5OuObiiRBmLtnuTnKAnCDtQSWfQtsnbPAqhvh6Ibtg2iinrElln1cydZZpbp4i4xVpg1Ew6hxQZO85uLLS completed in 57 seconds
    # Memory usage: 758.87MB (peak: 3391.92MB), time: 55.41s.
    
    $ /Applications/MAMP/bin/php/php7.3.8/bin/php '-q' '/Applications/MAMP/htdocs/xxx/web/contao-manager.phar.php' 'composer' 'install' '--prefer-dist' '--no-dev' '--no-progress' '--no-suggest' '--no-ansi' '--no-interaction' '--optimize-autoloader' 2>&1
    
    Loading composer repositories with package information
    Installing dependencies from lock file
    Package operations: 10 installs, 55 updates, 7 removals
      - Removing terminal42/header-replay-bundle (1.5.3)
      - Removing sonata-project/google-authenticator (2.2.0)
      - Removing contao-components/respimage (1.4.2)
      - Removing contao-components/mediaelement (4.2.10)
      - Removing contao-components/html5shiv (3.7.3)
      - Removing contao-components/compass (0.12.2.1)
      - Removing symfony/contracts (v1.1.6)
      - Installing symfony/polyfill-php73 (v1.12.0): Downloading (100%)
      - Installing symfony/mime (v4.3.4): Downloading (100%)
      - Updating symfony/http-foundation (v4.2.11 => v4.3.4): Downloading (100%)
      - Installing symfony/event-dispatcher-contracts (v1.1.5): Downloading (100%)
      - Updating symfony/event-dispatcher (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/http-kernel (v4.2.11 => v4.3.4): Downloading (100%)
      - Installing symfony/service-contracts (v1.1.6): Downloading (100%)
      - Updating symfony/dependency-injection (v4.2.11 => v4.3.4): Downloading (100%)
      - Installing terminal42/service-annotation-bundle (1.0.0): Downloading (100%)
      - Updating symfony/yaml (v4.2.11 => v4.3.4): Downloading (100%)
      - Installing symfony/translation-contracts (v1.1.6): Downloading (100%)
      - Updating symfony/twig-bridge (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/filesystem (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/config (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/twig-bundle (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/translation (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/security (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/security-bundle (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/routing (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/process (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/lock (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/finder (v4.2.11 => v4.3.4): Downloading (100%)
      - Installing symfony/cache-contracts (v1.1.5): Downloading (100%)
      - Updating symfony/cache (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/framework-bundle (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/expression-language (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/console (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/asset (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating scssphp/scssphp (1.0.3 => 1.0.4): Downloading (100%)
      - Updating scheb/two-factor-bundle (v3.23.0 => v4.7.1): Downloading (100%)
      - Updating knplabs/knp-menu (2.5.0 => 2.6.0): Downloading (100%)
      - Installing doctrine/instantiator (1.2.0): Downloading (100%)
      - Installing doctrine/common (v2.11.0): Downloading (100%)
      - Installing doctrine/orm (v2.6.3): Downloading (100%)
      - Updating contao/image (0.3.9 => 1.0.0): Downloading (100%)
      - Updating contao-components/tablesort (3.4.12 => 4.0.1): Downloading (100%)
      - Updating contao-components/swipe (2.1.3 => 2.2.0): Downloading (100%)
      - Downgrading contao-components/mootools (1.6.1 => 1.6.0.6): Downloading (100%)
      - Updating contao-components/contao (8.0.3 => 9.0.0): Downloading (100%)
      - Updating contao/core-bundle (4.7.7 => 4.8.3): Downloading (100%)
      - Updating alnv/catalog-manager (v1.31.10 => v1.31.11): Downloading (100%)
      - Updating codefog/contao-haste (4.23.6 => 4.24.0): Downloading (100%)
      - Updating composer/ca-bundle (1.2.3 => 1.2.4): Downloading (100%)
      - Updating contao-community-alliance/meta-palettes (2.0.6 => 2.0.7): Downloading (100%)
      - Updating contao-themes-net/mate-theme-bundle (2.2.1 => 2.2.6): Downloading (100%)    Failed to execute unzip -qq  '/Applications/MAMP/htdocs/xxx/vendor/contao-themes-net/mate-theme-bundle/74fe1bfc56b88f5a1b0afc94404f1319' -d '/Applications/MAMP/htdocs/xxx/vendor/composer/0e6c2d30'
    
    replace /Applications/MAMP/htdocs/xxx/vendor/composer/0e6c2d30/contao-themes-net-mate-theme-bundle-4a2485b/src/Resources/public/js/materialize/sidenav.js? [y]es, [n]o, [A]ll, [N]one, [r]ename:  NULL
    (EOF or read error, treating as "[N]one" ...)
    
        The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
        Unzip with unzip command failed, falling back to ZipArchive class
    
      - Updating contao/calendar-bundle (4.7.7 => 4.8.3): Downloading (100%)
      - Updating contao/comments-bundle (4.7.7 => 4.8.3): Downloading (100%)
      - Updating contao/faq-bundle (4.7.7 => 4.8.3): Downloading (100%)
      - Updating contao/listing-bundle (4.7.7 => 4.8.3): Downloading (100%)
      - Updating toflar/psr6-symfony-http-cache-store (2.0.3 => 2.1.0): Downloading (100%)
      - Updating symfony/var-dumper (v4.3.3 => v4.3.4): Downloading (100%)
      - Updating symfony/web-profiler-bundle (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating zendframework/zend-code (3.3.1 => 3.3.2): Downloading (100%)
      - Updating symfony/proxy-manager-bridge (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating monolog/monolog (1.24.0 => 1.25.1): Downloading (100%)
      - Updating symfony/monolog-bridge (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/dotenv (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating symfony/debug-bundle (v4.2.11 => v4.3.4): Downloading (100%)
      - Updating contao/installation-bundle (4.7.7 => 4.8.3): Downloading (100%)
      - Updating contao/manager-bundle (4.7.7 => 4.8.3): Downloading (100%)
      - Updating contao/news-bundle (4.7.7 => 4.8.3): Downloading (100%)
      - Updating contao/newsletter-bundle (4.7.7 => 4.8.3): Downloading (100%)
      - Updating derhaeuptling/contao-lazy-images (3.0.4 => 3.0.6): Downloading (100%)
      - Updating fritzmg/contao-inherit-article (2.1.0 => 2.1.1): Downloading (100%)
      - Updating pdir/social-feed-bundle (2.2.1 => 2.2.2): Downloading (100%)
    Generating optimized autoload files
    Warning: Ambiguous class resolution, "Contao\Search" was found in both "/Applications/MAMP/htdocs/xxx/vendor/smohring/cearch-pro-bundle/src/Resources/contao/classes/Search.php" and "/Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Search.php", the first will be used.
    Warning: Ambiguous class resolution, "Contao\ModuleSearch" was found in both "/Applications/MAMP/htdocs/xxx/vendor/smohring/cearch-pro-bundle/src/Resources/contao/modules/ModuleSearch.php" and "/Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/Resources/contao/modules/ModuleSearch.php", the first will be used.
    Warning: Ambiguous class resolution, "ProxyManager\Generator\Util\ProxiedMethodReturnExpression" was found in both "/Applications/MAMP/htdocs/xxx/vendor/ocramius/proxy-manager/src/ProxyManager/Generator/Util/ProxiedMethodReturnExpression.php" and "/Applications/MAMP/htdocs/xxx/vendor/symfony/proxy-manager-bridge/Legacy/ProxiedMethodReturnExpression.php", the first will be used.
    ocramius/package-versions: Generating version class...
    ocramius/package-versions: ...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/preview.php file.
    Added the web/app.php file.
    Added the web/index.php file.
    Deleted the web/app_dev.php file.
    
     // Clearing the cache for the prod environment with debug                      
     // false                                                                       
    
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  
    
    
     // Warming up the cache for the prod environment with debug                    
     // false                                                                       
    
     [OK] Cache for the "prod" environment (debug=false) was successfully warmed.   
    
    
     Trying to install assets as relative symbolic links.
    
     --- ------------------------------- ------------------ 
          Bundle                          Method / Error    
     --- ------------------------------- ------------------ 
      ?   ContaoCoreBundle                relative symlink  
      ?   ContaoCalendarBundle            relative symlink  
      ?   ContaoCommentsBundle            relative symlink  
      ?   ContaoFaqBundle                 relative symlink  
      ?   ContaoNewsBundle                relative symlink  
      ?   ContaoNewsletterBundle          relative symlink  
      ?   PdirSocialFeedBundle            relative symlink  
      ?   ContaoBootstrapCoreBundle       relative symlink  
      ?   ContaoBootstrapGridBundle       relative symlink  
      ?   ContaoDDAdvancedClassesBundle   relative symlink  
      ?   JonnyspCookieconsent            relative symlink  
      ?   ThemeHelperBundle               relative symlink  
      ?   TrilobitAjaxPaginationBundle    relative symlink  
      ?   MateThemeBundle                 relative symlink  
     --- ------------------------------- ------------------ 
    
     [OK] All assets were successfully installed.                                   
    
    
     --- ---------------------------------------------------- ---------------------------------------------------------------- 
          Symlink                                              Target / Error                                                  
     --- ---------------------------------------------------- ---------------------------------------------------------------- 
      ?   web/files/social-feed                                files/social-feed                                               
      ?   web/files/static                                     files/static                                                    
      ?   web/files/assets                                     files/assets                                                    
      ?   web/files/mate                                       files/mate                                                      
      ?   web/system/modules/dcawizard/assets                  system/modules/dcawizard/assets                                 
      ?   web/system/modules/haste/assets                      system/modules/haste/assets                                     
      ?   web/system/modules/notification_center/assets        system/modules/notification_center/assets                       
      ?   web/system/modules/seo_serp_preview/assets           system/modules/seo_serp_preview/assets                          
      ?   web/system/modules/opengraph3/assets                 system/modules/opengraph3/assets                                
      ?   web/system/modules/m17StickyBEFooter/assets          system/modules/m17StickyBEFooter/assets                         
      ?   web/system/modules/multicolumnwizard/html            system/modules/multicolumnwizard/html                           
      ?   web/system/modules/sharebuttons/assets               system/modules/sharebuttons/assets                              
      ?   web/system/modules/catalog-manager/assets            system/modules/catalog-manager/assets                           
      ?   web/system/modules/lazy-images/assets                system/modules/lazy-images/assets                               
      ?   web/system/modules/catalog-manager-importer/assets   system/modules/catalog-manager-importer/assets                  
      ?   system/themes/flexible                               vendor/contao/core-bundle/src/Resources/contao/themes/flexible  
      ?   web/assets                                           assets                                                          
      ?   web/system/themes                                    system/themes                                                   
      ?   system/logs                                          var/logs                                                        
     --- ---------------------------------------------------- ---------------------------------------------------------------- 
    
    Done! Please open the Contao install tool and make sure the database is up-to-date.
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    ---
    
    ### Task completed successfully ###

  2. #2
    Contao-Nutzer
    Registriert seit
    21.08.2016.
    Beiträge
    11

    Standard

    Ich bekomme den Fehler auch. Zumindest steht er in den Server-Logfiles von meinem Livesystem.
    Die Sache wird allerdings noch wesentlich spannender. Ich und einige andere können ohne Probleme auf die Website zugreifen. Andere wiederrum bekommen einen Fehler angezeigt.
    Ich vermute das vielleicht einige gecachten Daten die Ursache sind. Kann aber momentan noch keine weitere Auskunft geben. Ich habe vorsichtshalber mal in der Systemwartung alles gelöscht und neuerstellen lassen, sowie den Prod-Cache im Manager neu aufgebaut.

  3. #3

  4. #4
    Contao-Nutzer
    Registriert seit
    12.02.2014.
    Beiträge
    52

    Standard

    Zitat Zitat von Grossvater Beitrag anzeigen
    Hallo, ich habe ein Update von Contao 4.7 zu 4.8.3 machen wollen und erhalte folgenden Fehler, nach dem Aufrufen des Frontends:

    PHP 7.3
    Contao 4.8.3

    Code:
    [13-Sep-2019 08:36:35 Europe/Berlin] PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Argument 1 passed to Contao\CoreBundle\Fragment\FragmentRegistry::get() must be of the type string, object given, called in /Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/HttpKernel/ControllerResolver.php on line 43 in /Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/Fragment/FragmentRegistry.php:54
    Stack trace:
    #0 /Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/HttpKernel/ControllerResolver.php(43): Contao\CoreBundle\Fragment\FragmentRegistry->get(Object(Closure))
    #1 /Applications/MAMP/htdocs/xxx/vendor/symfony/http-kernel/HttpKernel.php(134): Contao\CoreBundle\HttpKernel\ControllerResolver->getController(Object(Symfony\Component\HttpFoundation\Request))
    #2 /Applications/MAMP/htdocs/xxx/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 2)
    #3 /Applica in /Applications/MAMP/htdocs/xxxn/vendor/contao/core-bundle/src/Fragment/FragmentRegistry.php on line 54
    [13-Sep-2019 08:36:36 Europe/Berlin] PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Argument 1 passed to Contao\CoreBundle\Fragment\FragmentRegistry::get() must be of the type string, object given, called in /Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/HttpKernel/ControllerResolver.php on line 43 in /Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/Fragment/FragmentRegistry.php:54
    Stack trace:
    #0 /Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/HttpKernel/ControllerResolver.php(43): Contao\CoreBundle\Fragment\FragmentRegistry->get(Object(Closure))
    #1 /Applications/MAMP/htdocs/xxx/vendor/symfony/http-kernel/HttpKernel.php(134): Contao\CoreBundle\HttpKernel\ControllerResolver->getController(Object(Symfony\Component\HttpFoundation\Request))
    #2 /Applications/MAMP/htdocs/xxx/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 2)
    #3 /Applica in /Applications/MAMP/htdocs/xxx/vendor/contao/core-bundle/src/Fragment/FragmentRegistry.php on line 54
    Hallo, ich habe das gleiche Problem. Gibt es schon eine Lösung?

  5. #5
    Contao-Urgestein Avatar von Kahmoon
    Registriert seit
    22.06.2009.
    Ort
    München
    Beiträge
    5.273

    Standard

    Edit: Falsch.sorry
    Geändert von Kahmoon (07.11.2019 um 15:47 Uhr)

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

    Standard

    Dort geht es um ein anderes Problem.

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
  •