Giter VIP home page Giter VIP logo

doctrine-resettable-em-bundle's People

Contributors

dependabot[bot] avatar dzoudzou avatar github-actions[bot] avatar pmysiak avatar surikman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

doctrine-resettable-em-bundle's Issues

Incompatible with Symfony 5.1

composer require pixelfederation/doctrine-resettable-em-bundle

Using version ^1.3 for pixelfederation/doctrine-resettable-em-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "5.1.*"

Prefetching 2 packages
  - Downloading (100%)

Package operations: 2 installs, 0 updates, 0 removals
  - Installing symfony/orm-pack (v1.0.8): Loading from cache
  - Installing pixelfederation/doctrine-resettable-em-bundle (1.3.6): Loading from cache
Writing lock file
Generating optimized autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
92 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Symfony operations: 1 recipe (30736602cb4f3d478bef5cbea42fc02a)
  - Configuring pixelfederation/doctrine-resettable-em-bundle (>=1.3.6): From auto-generated recipe
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 255
!!
!!   // Clearing the cache for the prod environment with debug false
!!
!!  10:50:16 CRITICAL  [php] Uncaught Error: Argument 3 passed to PixelFederation\DoctrineResettableEmBundle\ORM\ResettableEntityManager::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in dashboard\var\cache\pro_\ContainerFvxnRbY\getDoctrine_Orm_DefaultEntityManagerService.php on line 20 ["exception" => TypeError { …}]
!!
!!  In ResettableEntityManager.php line 43:
!!

!!    Argument 3 passed to PixelFederation\DoctrineResettableEmBundle\ORM\ResettableEntityManager::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in dashboard\var\cache\pro_\ContainerFvxnRbY\getDoctrine_Orm_DefaultEntityManagerService.php on line 20

!!

!!
!!  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-cm

How to use it in Symfony 5?

Hi, I'm not sure how to use this in Symfony 5 with swoole-bundle.. any guideline for novice like me? Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.