• Hi guys,

    I encountered a highly specific error as of WordPress 4.7. I’m running Press Permit Pro with Capability Manager, latest version of each. I have a user that has been assigned a custom user role, based on the Subscriber role, but with just enough additional rights to edit pages and create users. Here’s the key, though – by default, the user’s not allowed to edit any pages whatsoever – unless I explictly give it permission via Press Permit to do so on a per-page basis. As of WordPress 4.7, when this user goes to edit a page, and he tries to save the page after making modifications, he gets this error:

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1]
    SELECT tr.term_taxonomy_id FROM wp_term_relationships AS tr INNER JOIN wp_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tr.object_id IN (5946) AND tt.taxonomy IN ()

    This didn’t happen prior to WordPress 4.7. The problem ceases when I deactivate Short URL, and re-appears when I activate it. Considering how specific my case is, I’m not sure how useful my info will be, but I figured I might as well provide it in case it’s somehow good to know later. I don’t need Short URL on this particular website, so it isn’t a big deal for me – just an FYI type thing.

    Matt

    • This topic was modified 7 years, 11 months ago by champlainrac. Reason: auto-generated title was poor
  • The topic ‘WordPress database error (Involves Press Permit Pro)’ is closed to new replies.