WordPress.org

Forums

Admins can't post after upgrade to 3.6.1 (13 posts)

  1. charliebrimm
    Member
    Posted 1 year ago #

    Just upgraded a multisite install and Admins cannot create posts and are told they do not have permission to edit. The button says "Submit for Review".

    If they create a post from quick press on the dashboard it works and they and edit and post or save a draft then edit and post.

    I get errors like this on the post page with debug turned on:
    Undefined property: stdClass::$ID in D:\Websites\wp-admin\post-new.php on line 64 Notice: Undefined property: stdClass::$post_date in D:\Websites\wp-admin\edit-form-advanced.php on line 49 Notice: Undefined property: stdClass::$post_date in D:\Websites\wp-admin\edit-form-advanced.php on line 62 Notice: Undefined property: stdClass::$post_status in D:\Websites\wp-admin\edit-form-advanced.php on line 80 Notice: Undefined property: stdClass::$post_status in D:\Websites\wp-admin\edit-form-advanced.php on line 114 Notice: Undefined property: stdClass::$post_type in D:\Websites\wp-includes\taxonomy.php on line 169 Notice: Undefined property: stdClass::$post_type in D:\Websites\wp-includes\taxonomy.php on line 171

    Any help would be appreciated. Thanks!

  2. Did you start with the basics?

    Turn off plugins? Manually reinstall WP's core files?

  3. charliebrimm
    Member
    Posted 1 year ago #

    Yes turned off all plugins and re-installed code base to no avail.

    For some reason the post_modified_gmt is coming up 0000-00-00 00:00:00 when using the post page and it cannot get the post object. When using quick press it is properly populated with the current date and time.

  4. charliebrimm
    Member
    Posted 1 year ago #

    Actually this doesn't appear to be the issue. It appears that users are getting corrupted. Some are not but I cannot figure out why or how they are getting corrupted.

  5. charliebrimm
    Member
    Posted 1 year ago #

    Some users are corrupted and others are not. SA can post on some blogs, but not others. Some admins can post while others cannot. I do not see any differences in user meta for capabilities. Anywhere else I can look that might show what is different between users that can post and those who cannot?

  6. Check the themes?

    Also it may be time to check if any files on the server were changed recently that you didn't do.

  7. charliebrimm
    Member
    Posted 1 year ago #

    I checked the themes and tried using default themes.

    No other files were altered.

    If I create a new user they can post just fine on the post page and have access to quick press.

    Some previous users are unaffected while others can only post using quickpress.

  8. charliebrimm
    Member
    Posted 1 year ago #

    I have now narrowed it down to users that are admins on more than one blog. Any ideas there?

  9. Did you have any plugins that edited user roles?

  10. charliebrimm
    Member
    Posted 1 year ago #

    No plugins that manage roles were used. I just learned that users that are only on one blog can post. Users that are admins or editors on more than one blog on the network cannot create posts from the post page, but they can using quick press.

    They can edit posts no matter what. It is only new posts that are affected and I can output (even when the new post insert fails on load) that the user has can create post capability.

  11. Do a hard core upgrade. Delete the core WP files and reinstall them from a fresh download.

  12. charliebrimm
    Member
    Posted 1 year ago #

    I did try that and just did it again with fingers crossed and still the same result. The users do have the caps to get to the page it is just that the auto draft is not inserted into the db for some reason.

  13. Last gasp of ideas.

    Turn on debugging in the config, and install the debug bar plugin. See if you can catch an error of use.

    Is WP the only thing you upgraded?

Topic Closed

This topic has been closed to new replies.

About this Topic