Skip to content
Discussion options

You must be logged in to vote

Hi @munts, do you use the current version of the functions.php of this component?

Instead of
$data['menu'] = new Timber\Menu('navigation_main');

should be:
$data['menu'] = new Menu('navigation_main');

And then you should also add:
use Timber\Menu;

You can find the full source code here:
Components/NavigationMain/functions.php

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by timohubois
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants