WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] You do not have sufficient permissions to access this page (add new post) (5 posts)

  1. bennybmg
    Member
    Posted 2 years ago #

    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?

    Cheers
    Ben

  2. bennybmg
    Member
    Posted 2 years ago #

    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.

    Cheers

  3. bennybmg
    Member
    Posted 2 years ago #

    update

    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.

    Cheers

  4. bennybmg
    Member
    Posted 2 years ago #

    OK

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

    Cheers

  5. manatro
    Member
    Posted 1 year ago #

    Regarding this -- "shortcode_generator.php" inside theme/plugins directory.

    Can you provide specifics?
    Thanks in advance!

Topic Closed

This topic has been closed to new replies.

About this Topic