verbb / cp-nav

Control Panel Nav is a Craft CMS plugin to help manage your Control Panel navigation.
MIT License
130 stars 11 forks source link

Getting Twig runtime error: Variable "layouts" does not exist when in dev mode #56

Closed mikeebee closed 5 years ago

mikeebee commented 5 years ago

Description

After installing I went into the plugins menu and clicked on the plugin and I get this error when in dev mode

Twig Runtime Error
Variable "layouts" does not exist.
in <sitePath>/vendor/verbb/cp-nav/src/templates/index.html

Steps to reproduce

  1. Put site into dev mode
  2. Install plugin
  3. Click on plugin in settings menu

Additional info

I am also having a similar issue (variable not existing) with your field-manager plugin, I will wait to see the resolution of this one as they will likely be linked.

Update

This only happens in dev mode and seems to effect all Verbb plugins

Thanks!

engram-design commented 5 years ago

I believe this was an issue with having the Cloner plugin installed.

Cloner 1.0.1 fixes this.