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

Creating Layout Throws Error #137

Closed adrianjean closed 3 months ago

adrianjean commented 3 months ago

Describe the bug

I'm getting the following error when trying to create a new layout. I have uninstalled and reinstalled the plugin, and still receive this error.

Cannot assign string to property verbb\cpnav\models\Layout::$permissions of type ?array

Steps to reproduce

  1. Click New Layout
  2. Provide a name, in my case I just used "Test"
  3. Click Save — the error appears as a CraftCMS notice.

Craft CMS version

Craft Pro 5.2.3

Plugin version

5.0.0

Multi-site?

Yes

Additional context

No response

engram-design commented 3 months ago

Should be fixed in 5.0.1