i'm getting "You do not have sufficient permissions to access this page" error when trying to go to a plugin's settings. there's only one user which is the admin and has full access.

this is the URL i'm getting this error on:


i tried to find the if statements which was about that error, like this:

if (!current_user_can('manage_options'))  {
        wp_die( __('You do not have sufficient permissions to access this page.') );

and commented them, yet that error appeared again. even tried to delete the whole statement, nothing changed. I've searched through all the codes of the plugin with Dreamweaver but they weren't anywhere else. i'm looking for a way to bypass this.

1 Answer 1


While there can be checks inside page the page itself is added via API call, like add_options_page() (there are several analogous functions that add pages to different parts of admin).

This call includes capability argument. In your case either the extension in question is poorly coded and does something strange around there or your user is somehow corrupted (unlikely if you are not seeing similar errors all over admin).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.