Здравствуйте коллеги! Проблема в следующем. При смене роли администратора на редактор вываливаются ошибки типа: Notice: Undefined offset: 1 in /store/public_html/wp-content/plugins/admin-menu-editor/includes/menu-item.php on line 43 Warning: Cannot modify header information - headers already sent by (output started at public_html/wp-content/plugins/admin-menu-editor/includes/menu-item.php:43) in public_html/wp-includes/option.php on line 748 Warning: Cannot modify header information - headers already sent by (output started at /public_html/wp-content/plugins/admin-menu-editor/includes/menu-item.php:43) in /public_html/wp-includes/option.php on line 749 Заранее благодарен за помощь!
'access_level' => $item[1], //= required capability Ошибок гораздо больше, большинство пунктов меню заменяются подобными ошибками