Hi Syam,
Thanks for your quick response. I realize these are notices and yes, things do work even with the notices appearing. But I would prefer for them not to appear at all 🙂
There are no fatal errors.
I can consistently make the notices appear when I remove the “Edit Pages” capability from any of the standard WordPress roles, or apply a role like “Author,” which does not have Edit Pages capability by default.
Here is the full error log:
PHP message: PHP Notice: Undefined offset: 2 in /vagrant/wp-content/plugins/wpfront-user-role-editor-personal-pro/classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php on line 331
PHP message: PHP Notice: Undefined offset: 2 in /vagrant/wp-content/plugins/wpfront-user-role-editor-personal-pro/classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php on line 331
PHP message: PHP Notice: Undefined offset: 2 in /vagrant/wp-content/plugins/wpfront-user-role-editor-personal-pro/classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php on line 331
PHP message: PHP Notice: Undefined offset: 2 in /vagrant/wp-content/plugins/wpfront-user-role-editor-personal-pro/classes/personal-pro/class-wpfront-user-role-editor-menu-editor.php on line 331
PHP message: PHP Notice: Undefined offset: 2 in /vagrant/wp/wp-admin/menu-header.php on line 135
PHP message: PHP Notice: Undefined offset: 2 in /vagrant/wp/wp-admin/menu-header.php on line 136
PHP message: PHP Notice: Undefined offset: 2 in /vagrant/wp/wp-admin/menu-header.php on line 139
PHP message: PHP Notice: Undefined offset: 2 in /vagrant/wp/wp-admin/menu-header.php on line 143
PHP message: PHP Notice: Undefined offset: 1 in /vagrant/wp/wp-admin/menu-header.php on line 166
PHP message: PHP Notice: Undefined offset: 1 in /vagrant/wp/wp-admin/menu-header.php on line 166″