• Resolved geomagas

    (@geomagas)


    When I login with a non-admin user account, I get an alert saying “Error: You do not have permission to manage plugins.” in every wp-admin page. It is frustrating to have to click “Ok” in every page load, for something that is apparently not the user’s fault…

Viewing 8 replies - 1 through 8 (of 8 total)
  • Akhilesh

    (@atul-rahman)

    HI

    Thanks for contacting us and mentioning the issue in our next update; we will fix the issue.

    To fix the issue now, follow the given below instructions.

    Step 1: Locate the functions.php File in the Parent Theme  newscrunch  folder.

    1. Navigate to the Parent Theme newscrunch Folder:
      • Use your file manager or FTP client to go to your WordPress installation directory.
      • Find the wp-content/themes/newscrunch folder.
    2. Open functions.php:
      • Open the functions.php file in a text editor or an IDE.
    3. Find the Code on Specified Lines:
      • Look for the code around line numbers 404-407 and 434-437.
    4. Comment Out or Remove the Code:  

    To comment the code see the snapshot .https://prnt.sc/4poFrUH_7-n9

    Let us know if you have any confusion.

    Regards

    Newscrunch Support team

    • This reply was modified 3 months ago by Akhilesh.
    Thread Starter geomagas

    (@geomagas)

    This has been fixed with the latest update.

    Thank you!

    Hi @geomagas

    Thanks for the update.

    I’m glad to hear that the issue has been resolved! We’re always committed to enhancing your website’s appeal. Should you need further assistance, please don’t hesitate to reach out.

    If you’re satisfied with our theme and support, we’d greatly appreciate your feedback. Please take a moment to share your valuable thoughts here:

    NewsCrunch Theme Review

    Regards 

    Newscrunch Support Team

    Thread Starter geomagas

    (@geomagas)

    This came back with 1.8.4.1… :/

    I thought you guys fixed it once and for all! What gives?

    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:

    1. Install and activate the PublishPress Capabilities plugin.
    2. Navigate to Capabilities in your WordPress dashboard.
    3. Select the affected user role (e.g., Editor, Author, etc.).
    4. 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,

    Thread Starter geomagas

    (@geomagas)

    So in order to get rid of the (already useless) alert, I have to grant plugin management permissions to all my users?

    No no, this is unacceptable… sorry!

    Hi @geomagas

    If you don’t want to grant permission to the user, you can simply comment out the code I previously suggested.

    Let me know if you need further assistance.

    Thanks and regards,
    Support Team

    Thread Starter geomagas

    (@geomagas)

    Nah, I think I’m gonna pass… Thanks though!

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.