Hi @geomagas
Thank you for reaching out!
I initially provided a solution that resolved your issue, but due to Wordfence security concerns, I had to revert it. However, I have now found an alternative solution that will help you manage user permissions effectively.
You can use the PublishPress Capabilities plugin to control user roles and permissions. With this plugin, you can modify the permissions for non-admin users and prevent the “Error: You do not have permission to manage plugins” alert from appearing on every admin page.
To resolve the issue, follow these steps:
- Install and activate the PublishPress Capabilities plugin.
- Navigate to Capabilities in your WordPress dashboard.
- Select the affected user role (e.g., Editor, Author, etc.).
- Adjust the Plugin management permissions accordingly to restrict or grant access as needed.
For more detail, see the snapshot.
https://prnt.sc/pzFNTb3WCJPv
This method ensures that non-admin users do not get unnecessary permission alerts while keeping your site secure. Let me know if you need further assistance!
Best regards,