phpmongodbsymfonydoctrinesymfony2

What version of doctrine-mongodb-odm should I use with Symfony2 v2.0.12?


After some trial and error (ok, just error) I figured out that c089b69c3d contained something that broke my code, causing

Fatal error: Interface 'Doctrine\Common\Persistence\Proxy' not found

but the commit before that worked.

Is there any general recommendation of which version of doctrine-mongodb-odm should be used with the Symfony2 standard distribution v2.0.12?


Solution

  • Check your deps and deps.lock files for any version fixes on doctrine-common.

    The doctrine-mongodb master branch sub-modules doctrine-common at commit fc26d10

    See https://github.com/doctrine/mongodb/tree/master/lib/vendor.

    Also see this question and answer for more information - Manually updating Symfony2 deps file to get Doctrine 2.2?