Title: Query causing error in posts-edit-user-access.php
Last modified: August 8, 2024

---

# Query causing error in posts-edit-user-access.php

 *  [michaelbartletthonestly](https://wordpress.org/support/users/michaelbartletthonestly/)
 * (@michaelbartletthonestly)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/query-causing-error-in-posts-edit-user-access-php/)
 * I’m using the pro version of this plugin on a site that is hosted on WPEngine.
   The query being executed on line 815 in `posts-edit-user-access.php` is producing
   a query over 16k characters long, which get killed by WPEngine due to [being inefficient](https://arc.net/l/quote/oonyqyfh).
   Is it possible that this query be adjusted? The `WHERE` clause is checking for
   where the post ID is in a long list of IDs which I believe is why this query 
   is becoming too long.

The topic ‘Query causing error in posts-edit-user-access.php’ is closed to new replies.

 * ![](https://ps.w.org/user-role-editor/assets/icon-256x256.jpg?rev=1020390)
 * [User Role Editor](https://wordpress.org/plugins/user-role-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-role-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-role-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/user-role-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-role-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-role-editor/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [michaelbartletthonestly](https://wordpress.org/support/users/michaelbartletthonestly/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/query-causing-error-in-posts-edit-user-access-php/)
 * Status: not resolved