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

Twig Runtime Error #1687

Closed
mcdennem opened this issue Aug 5, 2020 · 1 comment · Fixed by #1688
Closed

Twig Runtime Error #1687

mcdennem opened this issue Aug 5, 2020 · 1 comment · Fixed by #1688

Comments

@mcdennem
Copy link
Member

mcdennem commented Aug 5, 2020

After adding a small menu to menu.yaml and adding a template in the partials directory under base2018.

Details

Question Answer
Relevant Bolt Version l 4.0
Install type Composer install
BC Break yes/no
PHP version 7.3
Web server Apache / Nginx / Built-in, version [ version ]
For UX/UI issues Chrome

Reproduction

Just followed this page:
https://docs.bolt.cm/4.0/menus/detailed

Bug summary

Specifics

Key "current" for array with keys "label, title, link, class, submenu, uri" does not exist.
..\projectname\vendor\bolt\core\templates\helpers_menu.html.twig (line 11)

@bobdenotter
Copy link
Member

run composer update and then bin/console bolt:copy-themes, and it'll work ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants