Support » Fixing WordPress » You do not have sufficient permissions to access this page (add new post)

  • Resolved bennybmg


    Hi all

    Searched high and low for a solution to this problem, I realise that this error is the subject of several forum posts but I believe that my issue is a little different.

    My issue is user role permission related. If I log on as an administrator I can add new posts as per normal. When I log on as any user with lesser permissions than an admin i.e. editor, I get the “You do not have sufficient permissions to access this page” on the “add new post” page.

    I believe the issue could have been caused by the “better WP Security” plugin. I have since deleted this plugin.

    This is what I have tried so far:
    Ran force-upgrade.php script
    Ran 2 SQL queries to check for meta_key prefixes that didn’t match table name prefixes. (I changed wp_ to e95_ using “better wp security”)
    Returned all DB prefixes to wp_
    Set permalinks to default
    Reinstalled the core

    None of these have worked. Anybody resolved a similar issue to this before?


Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi

    Just activated a different theme and the same issue did not arise. Reactivated the original theme and problem persists. Nice little clue there but still searching for the solution.



    I have double checked and it really is just an issue with the theme I am using, nothing to do with the “better WP security” Plugin which really is a great plugin.

    It seems that the theme developer has prevented access to the File editor for any user with less permission than an Admin. This is great however it also prevents access to “Add new post” to all users except admin.

    No idea why the developer would have done this as it prevents normal use of WordPress. I have asked the theme dev, so wait and see what they come back with.



    The theme dev got back to me. To resolve this issue you have to edit the file “shortcode_generator.php” inside theme/plugins directory.


    Regarding this — “shortcode_generator.php” inside theme/plugins directory.

    Can you provide specifics?
    Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘You do not have sufficient permissions to access this page (add new post)’ is closed to new replies.