Ergebnis 1 bis 3 von 3

Thema: MemoryTokenStorage must not be accessed before it was initialized.

  1. #1
    Contao-Urgestein Avatar von Samson1964
    Registriert seit
    05.11.2012.
    Ort
    Berlin
    Beiträge
    2.794

    Fehler MemoryTokenStorage must not be accessed before it was initialized.

    Beim Versuch des Updates von 4.8 auf 4.9 mit dem Contao Manager kommt folgende Fehlermeldung:
    Code:
    ERROR     [console] Error thrown while running command "cache:warmup --env=prod". Message: "MemoryTokenStorage must not be accessed before it was initialized." ["exception" => LogicException { …},"command" => "cache:warmup --env=prod","message" => "MemoryTokenStorage must not be accessed before it was initialized."]
    In MemoryTokenStorage.php line 104:
                                                                          
      MemoryTokenStorage must not be accessed before it was initialized.  
                                                                          
    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>
    X-Powered-By: PHP/7.3.23
    Content-type: text/html; charset=UTF-8
    
    [...]
    
    > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
    Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
    In ScriptHandler.php line 89:
                                                                                   
      An error occurred while executing the "cache:warmup" command: 20:09:46 ERRO  
      R     [console] Error thrown while running command "cache:warmup --env=prod  
      ". Message: "MemoryTokenStorage must not be accessed before it was initiali  
      zed." ["exception" => LogicException { …},"command" => "cache:warmup --env=  
      prod","message" => "MemoryTokenStorage must not be accessed before it was i  
      nitialized."]                                                                
                                                                                   
      In MemoryTokenStorage.php line 104:                                          
                                                                                   
        MemoryTokenStorage must not be accessed before it was initialized.         
                                                                                   
                                                                                   
      cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--  
      verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--en  
      v ENV] [--] <command>                                                        
                                                                                   
    install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>...]
    # Process terminated with exit code 1
    # Result: General error
    Was ist zu tun?
    Viele Grüße
    Frank

    Seit Mai 2013 Fan von Contao
    Webmaster vom Deutschen Schachbund und Berliner Schachverband
    Mein Blog: Schachbulle
    Meine Erweiterungen bei GitHub
    Meine Videos auf YouTube: Playlist zur Contao-Programmierung/Einrichtung

  2. #2
    Alter Contao-Hase
    Registriert seit
    20.06.2009.
    Ort
    Graz (Austria)
    Beiträge
    1.455

    Standard

    Hallo, ich habe das gleiche Problem, wobei meine aktuelle Version zur Zeit 4.9.3 ist. Mein Post von gestern hier
    LG, Andi

  3. #3
    Contao-Urgestein Avatar von Samson1964
    Registriert seit
    05.11.2012.
    Ort
    Berlin
    Beiträge
    2.794

    Standard

    Einen ähnlichen Fehler gab es früher schon mal: https://github.com/contao/contao/issues/582
    Hat aber wohl nichts mit unserem aktuellen Problem zu tun.
    Viele Grüße
    Frank

    Seit Mai 2013 Fan von Contao
    Webmaster vom Deutschen Schachbund und Berliner Schachverband
    Mein Blog: Schachbulle
    Meine Erweiterungen bei GitHub
    Meine Videos auf YouTube: Playlist zur Contao-Programmierung/Einrichtung

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
  •