cmf バンドルに次の問題があります。ルーティング バンドルで独自の cms を作成しましたが、すべて正常に動作します。cms にブログを追加したいので、RoutingAutoBundle をインストールし、その後 (構成なしで) インストールしました。AppKernelに追加するだけです。
ホームページを実行するとエラーが発生します:
Notice: Undefined offset: 0
ページ /about-us を実行しようとすると、同じエラーが表示されますが、次のようにリンクされています。
{{ path(cmf_find('/cms/routes')) }}
{{ knp_menu_render('main-menu'}) }}
私の小枝ファイルで
私の 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
誰でも私を助けることができますか?誰にも同様の問題がありますか?