Title: [Plugin: RoleScoper] Causing SQL error on page update
Last modified: August 19, 2016

---

# [Plugin: RoleScoper] Causing SQL error on page update

 *  [sparklogix](https://wordpress.org/support/users/mybenson/)
 * (@mybenson)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-rolescoper-causing-sql-error-on-page-update/)
 * I installed the latest version of Role Scoper but when I go to create or update
   a page, I get the following error when that plugin is activated:
 *     ```
       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 'WHERE post_parent > 0 AND post_type NOT IN ( 'revision', 'attachment' )' at line 1]
       SELECT ID, post_parent FROM WHERE post_parent > 0 AND post_type NOT IN ( 'revision', 'attachment' )
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/leagues/public_html/wp-includes/wp-db.php:952) in /home/leagues/public_html/wp-includes/pluggable.php on line 890
       ```
   
 * Any idea what’s causing it?

The topic ‘[Plugin: RoleScoper] Causing SQL error on page update’ is closed to new
replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [sparklogix](https://wordpress.org/support/users/mybenson/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-rolescoper-causing-sql-error-on-page-update/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
