Support » Plugin: Admin Menu Editor » Direct conflict with WP HIDE Plugin

  • In actual versions of both plugins and WordPress, the following error occurs at login with user roles below administrator (like editor or author).

    “You do not have sufficient permissions to access this admin page.”

    This happens using a custom admin URL configured in WP Hide. Before updates was working fine.

    https://wordpress.org/support/plugin/wp-hide-security-enhancer/

    Please fix this. It’s causing a lot of problems with customers in ALL SITES with both plugins. Thank you very much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    I can’t seem to reproduce that conflict. I installed
    WP Hide & Security Enhancer 1.6.2.0.4 and set “New Admin URL” to “customadmin”. Then I tried logging in as an administrator, an author, and an editor. I was able to log in as all of those roles: there were no errors.

    The error message that you posted suggests that the admin page that is displayed after a user logs in might be hidden from non-administrator users. Have you made any changes to the “Dashboard -> Home” menu item? If you try to hide this item, any user/role that can’t see it will get an error when they log in. Try clearing the “extra capability” field.

    If you’re redirecting users to a different page after log in, the same thing applies to that page. The menu item that corresponds to the post-login page must be accessible.

    Thread Starter cchavarria

    (@cchavarria)

    CHECKED:

    No changes to “Dashboard -> Home” menu item
    No extra capability added to user

    If manually I change to /wp-admin after this error it’s displayed, redirects and works fine to /customadmin. This is weird and happens in 4 different websites I have.

    Plugin Author Janis Elsts

    (@whiteshadow)

    After some additional testing, I have found a potential conflict: if there is a menu item that is not “Dashboard -> Home” but that also links directly to the admin dashboard (e.g. /customadmin/) and not to a .php file that’s part of the dashboard (e.g. /customadmin/options-general.php), the menu editor could incorrectly select that item as the current menu item. So if that other item was hidden, it would behave as if “Dashboard -> Home” was also hidden.

    This should now be fixed in the development version. Please give it a try:
    https://downloads.wordpress.org/plugin/admin-menu-editor.zip

    • This reply was modified 2 months, 2 weeks ago by Janis Elsts.
    Thread Starter cchavarria

    (@cchavarria)

    YEAH! Now it’s working fine! This versión fix it.

    Thank you very much! Great support!

    Please include this fix in the next update! You plugin it’s so great! I used in almost all my web sites.

    Plugin Author Janis Elsts

    (@whiteshadow)

    All right, that is good to hear. Of course, the patch will be included in the next update.

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