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

Error in log - must be of type array, null given #125

Closed philipboomy closed 4 months ago

philipboomy commented 1 year ago

Describe the bug

Hi

I am seeing this a lot in my weblog.

[cp-nav] array_key_exists(): Argument #2 ($array) must be of type array, null given - /home/ploi/www.website.co.uk/vendor/verbb/cp-nav/src/helpers/Permissions.php: 215.

Steps to reproduce

Just browse around in the CP and the error should appear in the log

Craft CMS version

4.4.13

Plugin version

4.0.10

Multi-site?

No

Additional context

No response

engram-design commented 1 year ago

Fixed for the next release. To get this early, run composer require verbb/cp-nav:"dev-craft-4 as 4.0.10".

engram-design commented 4 months ago

Fixed in 4.0.11