简体   繁体   中英

“Parent Role id ‘G7’ does not exist” error message is displayed on login as admin

On login to backend as admin in magento

"Parent Role id 'G7' does not exist" error message is displayed on login as admin

Can any one tell me what to do for this error.Thanks in advance.

I was able to fix this by updating the tree_level on all Users to "2" in the database.

UPDATE admin_role SET tree_level = 2 WHERE role_type = "U";

Then I cleared my Magento cache and sessions and was able to log in successfully.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM