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

Can't setup unite-cms 0.10 with Symfony 4.4.* oder 5.* #769

Open
lyssar opened this issue Jan 5, 2021 · 0 comments
Open

Can't setup unite-cms 0.10 with Symfony 4.4.* oder 5.* #769

lyssar opened this issue Jan 5, 2021 · 0 comments

Comments

@lyssar
Copy link

lyssar commented Jan 5, 2021

Hi,
sadly it is not possible atm to setup unite with the newest symfony versions. While trying I get following Error in the after-script on cache:clear:

Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 255
!!  
!!                                                                                  
!!   [WARNING] Some commands could not be registered:                               
!!                                                                                  
!!  
!!  In ContentManager.php line 49:
!!                                                                                 
!!    Argument 1 passed to UniteCMS\DoctrineORMBundle\Content\ContentManager::__c  
!!    onstruct() must be an instance of Doctrine\Common\Persistence\ManagerRegist  
!!    ry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in /s  
!!    rv/www/var/cache/dev/Container1fF3oJD/srcApp_KernelDevDebugContainer.php on  
!!     line 1757                                                                   
!!                                                                                 
!!  
!!  In ContentManager.php line 49:
!!                                                                                 
!!    Argument 1 passed to UniteCMS\DoctrineORMBundle\Content\ContentManager::__c  
!!    onstruct() must be an instance of Doctrine\Common\Persistence\ManagerRegist  
!!    ry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in /s  
!!    rv/www/var/cache/dev/Container1fF3oJD/srcApp_KernelDevDebugContainer.php on  
!!     line 1757                                                                   
!!                                                                                 
!!  
!!  In ContentManager.php line 49:
!!                                                                                 
!!    Argument 1 passed to UniteCMS\DoctrineORMBundle\Content\ContentManager::__c  
!!    onstruct() must be an instance of Doctrine\Common\Persistence\ManagerRegist  
!!    ry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in /s  
!!    rv/www/var/cache/dev/Container1fF3oJD/srcApp_KernelDevDebugContainer.php on  
!!     line 1757                                                                   
!!                                                                                 
!!  
!!  
!!                                                                                  
!!   [WARNING] Some commands could not be registered:                               
!!                                                                                  
!!  
!!  In ContentManager.php line 49:
!!                                                                                 
!!    Argument 1 passed to UniteCMS\DoctrineORMBundle\Content\ContentManager::__c  
!!    onstruct() must be an instance of Doctrine\Common\Persistence\ManagerRegist  
!!    ry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in /s  
!!    rv/www/var/cache/dev/Container1fF3oJD/srcApp_KernelDevDebugContainer.php on  
!!     line 1757                                                                   
!!                                                                                 
!!  
!!  In ContentManager.php line 49:
!!                                                                                 
!!    Argument 1 passed to UniteCMS\DoctrineORMBundle\Content\ContentManager::__c  
!!    onstruct() must be an instance of Doctrine\Common\Persistence\ManagerRegist  
!!    ry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in /s  
!!    rv/www/var/cache/dev/Container1fF3oJD/srcApp_KernelDevDebugContainer.php on  
!!     line 1757                                                                   
!!                                                                                 
!!  
!!  In ContentManager.php line 49:
!!                                                                                 
!!    Argument 1 passed to UniteCMS\DoctrineORMBundle\Content\ContentManager::__c  
!!    onstruct() must be an instance of Doctrine\Common\Persistence\ManagerRegist  
!!    ry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in /s  
!!    rv/www/var/cache/dev/Container1fF3oJD/srcApp_KernelDevDebugContainer.php on  
!!     line 1757                                                                   
!!                                                                                 
!!  
!!  [error] Error thrown while running command "--ansi cache:clear". Message: "Argument 1 passed to UniteCMS\DoctrineORMBundle\Content\ContentManager::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in /srv/www/var/cache/dev/Container1fF3oJD/srcApp_KernelDevDebugContainer.php on line 1757"
!!  
!!  [critical] Uncaught Error: Argument 1 passed to UniteCMS\DoctrineORMBundle\Content\ContentManager::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in /srv/www/var/cache/dev/Container1fF3oJD/srcApp_KernelDevDebugContainer.php on line 1757
!!  
!!  
!!  In ContentManager.php line 49:
!!                                                                                 
!!    Argument 1 passed to UniteCMS\DoctrineORMBundle\Content\ContentManager::__c  
!!    onstruct() must be an instance of Doctrine\Common\Persistence\ManagerRegist  
!!    ry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in /s  
!!    rv/www/var/cache/dev/Container1fF3oJD/srcApp_KernelDevDebugContainer.php on  
!!     line 1757                                                                   
!!                                                                                 
!!  
!!  cache:clear [--no-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 @auto-scripts was called via post-update-cmd

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant