Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with menu #209

Closed
tarioch opened this issue Apr 5, 2014 · 2 comments
Closed

Errors with menu #209

tarioch opened this issue Apr 5, 2014 · 2 comments
Labels
Milestone

Comments

@tarioch
Copy link

tarioch commented Apr 5, 2014

Since updating to the latest version (I did not update for a couple of weeks).

I'm now getting the error:

Variable "listAttributes" does not exist in BraincraftedBootstrapBundle:Menu:bootstrap.html.twig at line 32

if I change the code in the twig file initialize listAttributes with default([]), I'm getting

Key "currentDepth" for array with keys "depth, matchingDepth, currentAsLink, currentClass, ancestorClass, firstClass, lastClass, template, compressed, allow_safe_labels, clear_matcher, style" does not exist in BraincraftedBootstrapBundle:Menu:bootstrap.html.twig at line 98

do I need to change something else for the menu to work again?

@tarioch
Copy link
Author

tarioch commented Apr 5, 2014

I found it out myself, I used knp-menu @dev , switching them over to @Alpha fixes the issue.
So there might be some upcoming changes from knp-menu

@florianeckerstorfer
Copy link
Member

I merged #210. Should be fixed.

@florianeckerstorfer florianeckerstorfer added this to the 2.0.2 milestone Apr 7, 2014
@florianeckerstorfer florianeckerstorfer modified the milestones: 2.1, 2.0.2 May 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants