Skip to content

Errors with menu #209

@tarioch

Description

@tarioch

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions