Control Panel Nav is a Craft CMS plugin to help manage your Control Panel navigation.
130
stars
11
forks
source link
Call to a member function getNavigations() on null - /app/vendor/verbb/cp-nav/src/services/Service.php: 46. #106
Open
jamesmacwhite opened 2 years ago
Description
The following error is being logged in Yii Debug toolbar on all Control Panel requests but doesn't appear to be causing too much harm.
It would appear
$layout
when being looped is null here: https://github.com/verbb/cp-nav/blob/craft-3/src/services/Service.php#L46, so getNavigations() fails.Potentially wrapping with an if to check if layout is there first is possibly an easy fix.
Additional info