Errors with menu
tarioch opened this issue · 2 comments
tarioch commented
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 commented
florianeckerstorfer commented
I merged #210. Should be fixed.