I have next problem with cmf bundle. I created my own cms on routing bundle and everything work fine. I want to add blog to my cms so I installed RoutingAutoBundle and after that ( without any configuration ). I just adding it to AppKernel.
When I run homepage I get an error :
Notice: Undefined offset: 0
When I try to run some page /about-us I get this same error but it is linked with :
{{ path(cmf_find('/cms/routes')) }}
{{ knp_menu_render('main-menu'}) }}
in my twig file
my cmf_route :
cmf_routing:
chain:
routers_by_id:
router.default: 200
cmf_routing.dynamic_router: 100
dynamic:
persistence:
phpcr:
enabled: true
route_basepaths:
- /cms/routes
Anyone can help me? Anyone have similar problem?