Exactly the same for me but in french:
Notice à la ligne 199 du fichier /vagrant/httpdocs/controllers/admin/AdminAccessController.php [8] Undefined index: name
If, line 199 of AdminAccessController.php file I do a
var_dump($a);
it seems some values doesn't have expected "name" attribute:
So to fix warning tentatively, you can do:
if (isset($a['name']) && isset($b['name'])) { return strnatcmp($a['name'], $b['name']); }
To know which module is, you can add into Module.php line 2643 (into getModulesAccessesByIdProfile method) before "return $roles" :
var_dump($roles);die();
It give me a list of modules with their permissions :
In my case, the two last ("ETRANSACTIONSEPAYMENT" and "MENUFOOTER") doesn't have a name or an id.
I tried reinstall them but it doesn't works better, so I deleted lines of ps_authorization_role table with the name of module into `slug` column and now.. it works like a charm !
But seems to be an old bug , I found another unsresolved topic from march 2017 here: