• uoitsu

    (@uoitsu)


    Hi everyone,

    I’ve been having trouble doing one of the most straight-forward things in WordPress: Create new pages. For context, I am using Divi as my theme.

    Every time I try to add a new page, the “use Divi Builder” button doesn’t work. Furthermore, when I click “save draft”, i get redirected to “Sorry, you are not allowed to edit this post.”

    The page then appears in my drafts as (no title) which I can’t delete or edit.

    I have full administrator abilities

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator James Huff

    (@macmanx)

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and switch to the default Twenty Twenty theme. If the problem goes away, enable them one by one to identify the source of the problem.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Thread Starter uoitsu

    (@uoitsu)

    @macmanx I’ve tried disabling all plugins as well as the theme but this did not help the problem.

    I will install Health Check and report back!

    Thank you so much for your help

    EDIT:
    I am still unable to add pages.
    I get “Sorry, you are not allowed to edit this post.”

    • This reply was modified 6 years ago by uoitsu. Reason: update after trying the suggestion
    Moderator James Huff

    (@macmanx)

    And does the error continue even when Divi and it’s plugins are off? Just double-checking.

    Thread Starter uoitsu

    (@uoitsu)

    @macmanx Yes, the error continues.

    Moderator James Huff

    (@macmanx)

    Ok, if you are not using Multisite, access your database via phpMyAdmin (most hosting providers offer this in your hosting account’s control panel), go to the wp_users table and find the row for your user_login. Note the ID of this row. Now, go to the wp_usermeta table and find the wp_capabilities row for your user_id. Set the value of this row to:

    a:1:{s:13:"administrator";b:1;}

    Thread Starter uoitsu

    (@uoitsu)

    @macmanx
    Sorry for the late reply. I went through all the rows and the values already matched what you noted above. The problem is still ongoing.

    Moderator James Huff

    (@macmanx)

    Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter uoitsu

    (@uoitsu)

    Hi!

    I just finished deleting and replacing all copies and the error still hasn’t been fixed.

    Moderator James Huff

    (@macmanx)

    What’s the content of your .htaccess file?

    Stef

    (@serafinnyc)

    Do you have any security plugins enabled? Check your htaccess and if possible send a screenshot omitting anything you don’t want people to see. You could try resetting it.

    If your htaccess file doesn’t look like this

    
    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    
    

    Then take this and paste it and save it. That will reset it. Try clearing cache and then try again to create, edit or whatever it was you were trying to do before you started receiving this error.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Error creating new pages’ is closed to new replies.