Git Product home page Git Product logo

Catchable fatal error: Argument 1 passed to Gedmo\Mapping\MappedEventSubscriber::loadMetadataForObjectClass() must be an instance of Doctrine\Common\Persistence\ObjectManager about doctrineextensions HOT 5 CLOSED

doctrine-extensions avatar doctrine-extensions commented on May 28, 2024
Catchable fatal error: Argument 1 passed to Gedmo\Mapping\MappedEventSubscriber::loadMetadataForObjectClass() must be an instance of Doctrine\Common\Persistence\ObjectManager

from doctrineextensions.

Comments (5)

stof avatar stof commented on May 28, 2024

You need to use the master branch of the Doctrine repo to have this interface. It is not in the 2.0.x branch

from doctrineextensions.

l3pp4rd avatar l3pp4rd commented on May 28, 2024

Hi,
stof is right, upgrade your ORM to master branch, you should not have any issues on your project by doing that.

from doctrineextensions.

gjuric avatar gjuric commented on May 28, 2024

Is it possible to provide a version with fixed issues that works with the current stable release of Doctrine (2.0.4)?

from doctrineextensions.

stof avatar stof commented on May 28, 2024

It is what the 2.0.x branch is for

from doctrineextensions.

gjuric avatar gjuric commented on May 28, 2024

Thanks, don't know how I missed that :)

from doctrineextensions.

Related Issues (20)

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.