Undefined variable $linkGroups
After upgrading to the latest version of Twill using the upgrade guide, i'm receiving the following error when I want to visit the admin panel:
Undefined variable $linkGroups (View: /Users/xxxxx/Documents/xxxxx/website/vendor/area17/twill/views/partials/navigation/_overlay_navigation.blade.php)
What is wrong? I can't find it
1 Reply
Hi @feelgoodinc82, did you clear Laravel caches? Do you maybe have a custom view composer setup on this view? If not, can you try to add a dd here in your vendored Twill? https://github.com/area17/twill/blob/35d0bbcb8a35e04bd3c52de4b82c54bd095d977f/src/View/Components/Partials/Navigation/Overlay.php#L16
GitHub
twill/src/View/Components/Partials/Navigation/Overlay.php at 35d0bb...
Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible. Chat with us on Discord at https://discord.gg/c...