in /...vendor/dmstr/yii2-adminlte-asset/widgets/Menu.phpat line 150
protected function normalizeItems($items, &$active)
{
foreach ($items as $i => $item) {
if (isset($item['visible']) && !$item['visible']) {
unset($items[$i]);
continue;
}
if (!isset($item['label'])) {
$item['label'] = ''; <== error here marked
}
$encodeLabel = isset($item['encode']) ? $item['encode'] :
in /.../vendor/dmstr/yii2-adminlte-asset/widgets/Menu.php at line 150– yii\base\ErrorHandler::handleError(2, 'Illegal string offset 'label'', '...', 150,)
foreach ($items as $i => $item) {
if (isset($item['visible']) && !$item['visible']) {
unset($items[$i]);
continue;
}
if (!isset($item['label'])) {
$item['label'] = ''; <== error here marked
}
$encodeLabel
Hi, hi i tried to add an divider
then i get the following error message
PHP Warning – yii\base\ErrorException Illegal string offset 'label'
Is that impossoble in admin lte?