Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fehler nach Update auf Contao 4.4.24 #14

Closed
andre5tz opened this issue Sep 5, 2018 · 2 comments
Closed

Fehler nach Update auf Contao 4.4.24 #14

andre5tz opened this issue Sep 5, 2018 · 2 comments

Comments

@andre5tz
Copy link

andre5tz commented Sep 5, 2018

Hallo,

bei einem Update auf Contao 4.4.24 gab es einen ERROR 500.
Mit einer Deinstalltion von dlstats konnte ich alles wieder zum Laufen bringen und das Contao-Update konnte durchlaufen.

Viele Grüße
André

Die Konsole hat dazu folgendes angezeigt:


Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
Using version ^1.0 for bugbuster/contao-dlstats-bundle
/home/www/.../contao-4-lts/composer.json has been updated

# Process terminated with exit code 0
# Result: OK


$ /usr/bin/php7.2 '-q' '/home/www/.../contao-4-lts/web/contao-manager.phar.php' 'composer' 'update' 'bugbuster/contao-dlstats-bundle' '--with-dependencies' '--prefer-dist' '--no-dev' '--no-progress' '--no-suggest' '--no-ansi' '--no-interaction' '--optimize-autoloader' 2>&1

Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
Loading composer repositories with package information
Updating dependencies
Package operations: 3 installs, 0 updates, 0 removals
  - Installing crossjoin/browscap (v1.0.6): Downloading (100%)
  - Installing bugbuster/contao-botdetection-bundle (1.0.0): Downloading (100%)
  - Installing bugbuster/contao-dlstats-bundle (1.0.2): Downloading (100%)
Writing lock file
Generating optimized autoload files
contao/manager-plugin: Generating plugin class...
contao/manager-plugin: ...done generating plugin class
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication

 Added/updated the web/app_dev.php file.
 Added/updated the web/app.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                                                                       

17:02:31 ERROR     [console] Error thrown while running command "cache:warmup --env=prod". Message: "[Semantical Error] The annotation "@Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" in class BugBuster\DlstatsBundle\Controller\DlstatsController does not exist, or could not be auto-loaded in /home/www/.../contao-4-lts/vendor/bugbuster/contao-dlstats-bundle/src/Controller (which is being imported from "/home/www/.../contao-4-lts/vendor/bugbuster/contao-dlstats-bundle/src/ContaoManager/../Resources/config/routing.yml"). Make sure annotations are installed and enabled." ["exception" => Symfony\Component\Config\Exception\FileLoaderLoadException { …},"command" => "cache:warmup --env=prod","message" => "[Semantical Error] The annotation "@Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" in class BugBuster\DlstatsBundle\Controller\DlstatsController does not exist, or could not be auto-loaded in /home/www/.../contao-4-lts/vendor/bugbuster/contao-dlstats-bundle/src/Controller (which is being imported from "/home/www/.../contao-4-lts/vendor/bugbuster/contao-dlstats-bundle/src/ContaoManager/../Resources/config/routing.yml"). Make sure annotations are installed and enabled."] []

In FileLoader.php line 168:
                                                                               
  [Semantical Error] The annotation "@Sensio\Bundle\FrameworkExtraBundle\Configuration\Route" 
  in class BugBuster\DlstatsBundle\Controller\DlstatsController does not exist, or could not be 
  auto-loaded in /home/www/.../contao-4-lts/vendor/bugbuster/contao-dlstats-bundle/src/Controller 
  (which is being imported from "/home/www/.../contao-4-lts/vendor/bugbuster/contao-dlstats-bundle/
  src/ContaoManager/../Resources/config/routing.yml"). Make sure annotations are installed and enabled.       
                                                                               

In AnnotationException.php line 54:
                                                                               
  [Semantical Error] The annotation "@Sensio\Bundle\FrameworkExtraBundle\Conf  
  iguration\Route" in class BugBuster\DlstatsBundle\Controller\DlstatsControl  
  ler does not exist, or could not be auto-loaded.                             
                                                                               

cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>

Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-update-cmd event terminated with an exception

In ScriptHandler.php line 113:
                                                                               
  An error occurred while executing the "cache:warmup" command: 17:02:31 ERRO  
  R     [console] Error thrown while running command "cache:warmup --env=prod  
  ". Message: "[Semantical Error] The annotation "@Sensio\Bundle\FrameworkExt  
  raBundle\Configuration\Route" in class BugBuster\DlstatsBundle\Controller\D  
  lstatsController does not exist, or could not be auto-loaded in /home/www/d  
  riedorf.de/contao-core/contao-4-lts/vendor/bugbuster/contao-dlstats-bundle/  
  src/Controller (which is being imported from "/home/www/...
  /contao-4-lts/vendor/bugbuster/contao-dlstats-bundle/src/ContaoManager/  
  ../Resources/config/routing.yml"). Make sure annotations are installed and   
  enabled." ["exception" => Symfony\Component\Config\Exception\FileLoaderLoad  
  Exception { …},"command" => "cache:warmup --env=prod","message" => "[Semant  
  ical Error] The annotation "@Sensio\Bundle\FrameworkExtraBundle\Configurati  
  on\Route" in class BugBuster\DlstatsBundle\Controller\DlstatsController doe  
  s not exist, or could not be auto-loaded in /home/www/...  
  /contao-4-lts/vendor/bugbuster/contao-dlstats-bundle/src/Controller (whic  
  h is being imported from "/home/www/.../contao-4-lts/ve  
  ndor/bugbuster/contao-dlstats-bundle/src/ContaoManager/../Resources/config/  
  routing.yml"). Make sure annotations are installed and enabled."] []         
                                                                               
  In FileLoader.php line 168:                                                  
                                                                               
                                                                               
    [Semantical Error] The annotation "@Sensio\Bundle\FrameworkExtraBundle\Co  
  nf                                                                           
    iguration\Route" in class BugBuster\DlstatsBundle\Controller\DlstatsContr  
  ol                                                                           
    ler does not exist, or could not be auto-loaded in /home/www/.../contao-4-lts/vendor/bugbuster/contao-dlstats-bundle/src/Control  
  le                                                                           
    r (which is being imported from "/home/www/.../contao  
  -4                                                                           
    -lts/vendor/bugbuster/contao-dlstats-bundle/src/ContaoManager/../Resource  
  s/                                                                           
    config/routing.yml"). Make sure annotations are installed and enabled.     
                                                                               
                                                                               
                                                                               
                                                                               
  In AnnotationException.php line 54:                                          
                                                                               
                                                                               
    [Semantical Error] The annotation "@Sensio\Bundle\FrameworkExtraBundle\Co  
  nf                                                                           
    iguration\Route" in class BugBuster\DlstatsBundle\Controller\DlstatsContr  
  ol                                                                           
    ler does not exist, or could not be auto-loaded.                           
                                                                               
                                                                               
                                                                               
                                                                               
  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] [--no-debug] [--] <command>                                           
                                                                               

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...


# Process terminated with exit code 1
# Result: General error```
@BugBuster1701
Copy link
Owner

Selbes Problem wie BugBuster1701/contao-banner-bundle#26

@BugBuster1701
Copy link
Owner

Fixed in version 1.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants