Title: Error Codes
Last modified: May 31, 2021

---

# Error Codes

 *  [ozoneprof](https://wordpress.org/support/users/ozoneprof/)
 * (@ozoneprof)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-codes-11/)
 * I have been receiving these errors for a while. Dont know how to read them so
   would appreciate some help as to what they mean.
 *     ```
       ) AND wp_posts.post_type IN ('post', 'page', 'attachment', 'portfolio', 'template', 'dlp_document') AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC made by require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array('pre_get_posts'), WP_Hook->do_action, WP_Hook->apply_filters, rcp_hide_premium_posts, rcp_get_restricted_post_ids, get_posts, WP_Query->query, WP_Query->get_posts
       ( mt2.meta_key = 'rcp_access_level' AND mt2.meta_value != 'None' )
       OR
       ( mt1.meta_key = 'rcp_user_level' AND mt1.meta_value != 'All' )
       OR
       wp_postmeta.meta_key = 'rcp_subscription_level'
       OR
       ( wp_postmeta.meta_key = '_is_paid' AND wp_postmeta.meta_value = '1' )
       [31-May-2021 18:39:12 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) INNER JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) WHERE 1=1 AND (
       ) AND wp_posts.post_type IN ('post', 'page', 'attachment', 'portfolio', 'template', 'dlp_document') AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC made by require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array('pre_get_posts'), WP_Hook->do_action, WP_Hook->apply_filters, rcp_hide_premium_posts, rcp_get_restricted_post_ids, get_posts, WP_Query->query, WP_Query->get_posts
       ( mt2.meta_key = 'rcp_access_level' AND mt2.meta_value != 'None' )
       OR
       ( mt1.meta_key = 'rcp_user_level' AND mt1.meta_value != 'All' )
       OR
       wp_postmeta.meta_key = 'rcp_subscription_level'
       OR
       ( wp_postmeta.meta_key = '_is_paid' AND wp_postmeta.meta_value = '1' )
       [31-May-2021 15:55:49 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) INNER JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) WHERE 1=1 AND (
       ) AND wp_posts.post_type IN ('post', 'page', 'attachment', 'portfolio', 'template', 'dlp_document') AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC made by require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array('pre_get_posts'), WP_Hook->do_action, WP_Hook->apply_filters, rcp_hide_premium_posts, rcp_get_restricted_post_ids, get_posts, WP_Query->query, WP_Query->get_posts
       ( mt2.meta_key = 'rcp_access_level' AND mt2.meta_value != 'None' )
       OR
       ( mt1.meta_key = 'rcp_user_level' AND mt1.meta_value != 'All' )
       OR
       wp_postmeta.meta_key = 'rcp_subscription_level'
       OR
       ( wp_postmeta.meta_key = '_is_paid' AND wp_postmeta.meta_value = '1' )
       [31-May-2021 14:45:29 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) INNER JOIN wp_postmeta AS mt2 ON ( wp_posts.ID = mt2.post_id ) WHERE 1=1 AND (
       ) AND wp_posts.post_type IN ('post', 'page', 'attachment', 'portfolio', 'template', 'dlp_document') AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC made by require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array('pre_get_posts'), WP_Hook->do_action, WP_Hook->apply_filters, rcp_hide_premium_posts, rcp_get_restricted_post_ids, get_posts, WP_Query->query, WP_Query->get_posts
       ( mt2.meta_key = 'rcp_access_level' AND mt2.meta_value != 'None' )
       OR
       ( mt1.meta_key = 'rcp_user_level' AND mt1.meta_value != 'All' )
       OR
       wp_postmeta.meta_key = 'rcp_subscription_level'
       OR
       ( wp_postmeta.meta_key = '_is_paid' AND wp_postmeta.meta_value = '1' )
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-codes-11%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Error Codes’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=2980272)
 * [Solid Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ozoneprof](https://wordpress.org/support/users/ozoneprof/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/error-codes-11/)
 * Status: not resolved