Closed awdng closed 10 years ago
to get a stable experience, you should depend on the 1.0 version of the cmf bundles until 1.1 is released as stable. the issue you see is coming from https://github.com/symfony-cmf/MenuBundle/pull/171 and will be there for ContentBundle as well.
Can you write what dependencies I have to fix to make tutorial example work http://symfony.com/doc/master/cmf/cookbook/creating_a_cms/getting-started.html? Here is my composer.json "require" section:
"php": ">=5.3.3",
"symfony/symfony": "~2.4",
"doctrine/doctrine-bundle": "~1.2",
"twig/extensions": "~1.0",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~2.3",
"sensio/framework-extra-bundle": "~3.0",
"sensio/generator-bundle": "~2.3",
"incenteev/composer-parameter-handler": "~2.0",
"doctrine/phpcr-bundle": "dev-master as 1.0.0",
"doctrine/phpcr-odm": "dev-master as 1.0.0",
"jackalope/jackalope-doctrine-dbal": "1.0.0",
"symfony-cmf/routing-auto-bundle": "1.0.*@alpha",
"symfony-cmf/menu-bundle": "1.0",
"sonata-project/doctrine-phpcr-admin-bundle": "dev-master",
"symfony-cmf/tree-browser-bundle": "@dev",
"doctrine/data-fixtures": "1.0.0",
"phpcr/phpcr-utils": "dev-master as 1.0.0"
you are mixing dev and 1.0 versions which will not work. either use the latest dev versions of phpcr-odm and the cmf, or use the 1.0 versions of everything to be stable. (the exception is RoutingBundle which is stable at 1.1 and dev at 1.2)
Getting this error with the latest dev-master