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

Custom SVG Icon selection modal hangs (500 error) #114

Closed phillips-jon closed 1 year ago

phillips-jon commented 2 years ago

Describe the bug

When clicking the "+ Choose" button under the "Custom Icon" section in the modal, the modal hangs and the console throws a 500 error.

Steps to reproduce

  1. Click the "+ Choose" button in the "Custom Icon" section of the modal.
  2. Check the console for the error. Screen Shot 2022-09-28 at 08 41 40 Screen Shot 2022-09-28 at 08 44 16

Craft CMS version

4.2.5.1

Plugin version

4.0.6

Multi-site?

No

Additional context

No response

engram-design commented 1 year ago

Fixed for the next release. To get this fix early, change your verbb/cp-nav requirement in composer.json to:

"require": {
  "verbb/cp-nav": "dev-craft-4 as 4.0.6",
  "...": "..."
}

Then run composer update.

phillips-jon commented 1 year ago

Thank you!

engram-design commented 1 year ago

Fixed in 4.0.7