help in fixing error
hi talent my website is having some issues its running very slow when u post an ad another thing every now and then i get 501 error message in my server error log i have copied my error log file if you can check and help me where the issue is and how can i fix would be much appreciated.
[09-Jan-2015 08:12:22 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (5603,5601) ORDER BY meta_id ASC made by require('
wp-blog-header.php'), require_once('
wp-load.php'), require_once('
wp-config.php'), require_once('
wp-settings.php'), do_action('init'), call_user_func_array, cp_packages_setup, WP_Query->__construct, WP_Query->query, WP_Query->get_posts, update_post_caches, update_postmeta_cache, update_meta_cache
[09-Jan-2015 11:48:04 UTC] WordPress database error Lost connection to MySQL server during query for query select meta_key from wp_postmeta where meta_key='posts_rate_key' limit 1 made by require('
wp-blog-header.php'), require_once('
wp-load.php'), require_once('
wp-config.php'), require_once('
wp-settings.php'), include_once('/plugins/
seo-pressor/
seo-pressor.php'), WPPostsRateKeys->WPPostsRateKeys, WPPostsRateKeys_WPPosts::update_non_hidden_metadat a
[09-Jan-2015 11:48:04 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT * FROM wp_users WHERE ID = '451' made by require('
wp-blog-header.php'), require_once('
wp-includes/template-loader.php'), include('/themes/simply-responsive-cp/wrapper.php'), load_template, require_once('/themes/simply-responsive-cp/tpl-ads-home.php'), get_template_part, locate_template, load_template, require('/themes/classipress/loop-ad_listing.php'), the_post, WP_Query->the_post, setup_postdata, get_userdata, get_user_by, WP_User::get_data_by
[09-Jan-2015 11:48:04 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT * FROM wp_posts WHERE ID = 3522 LIMIT 1 made by require('
wp-blog-header.php'), require_once('
wp-includes/template-loader.php'), include('/themes/simply-responsive-cp/wrapper.php'), load_template, require_once('/themes/simply-responsive-cp/tpl-ads-home.php'), get_template_part, locate_template, load_template, require('/themes/classipress/loop-ad_listing.php'), get_template_part, locate_template, load_template, require('/themes/simply-responsive-cp/content-ad_listing.php'), appthemes_after_post_title, do_action('appthemes_after_post_title'), call_user_func_array, ftm_ad_loop_meta, appthemes_get_profile_pic, get_avatar, apply_filters('get_avatar'), call_user_func_array, WP_User_Avatar_Functions->wpua_get_avatar_filter, has_wp_user_avatar, WP_User_Avatar_Functions->has_wp_user_avatar, WP_User_Avatar_Functions->wpua_attachment_is_image, wp_attachment_is_image, get_post, WP_Post::get_instance
[09-Jan-2015 11:48:04 UTC] WordPress database error Lost connection to MySQL server during query for query UPDATE `wp_postmeta` SET `meta_value` = '28' WHERE `post_id` = 6207 AND `meta_key` = 'cp_daily_count' made by require('
wp-blog-header.php'), require_once('
wp-includes/template-loader.php'), include('/themes/simply-responsive-cp/wrapper.php'), load_template, require_once('/themes/simply-responsive-cp/single-ad_listing.php'), appthemes_stats_update, APP_Post_Statistics::record_view, update_post_meta, update_metadata
[09-Jan-2015 11:48:05 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT object_id, term_taxonomy_id FROM wp_term_relationships INNER JOIN wp_posts ON object_id = ID WHERE term_taxonomy_id IN (985,986,992,993,994,995,996,997,987,998,999,1000, 1001,1002,1003,1004,1005,988,1006,1007,1008,1009,9 89,990,1011,1012,1013,1010,991) AND post_type IN ('ad_listing') AND post_status = 'publish' made by require('
wp-blog-header.php'), require_once('
wp-includes/template-loader.php'), include('/themes/simply-responsive-cp/wrapper.php'), load_template, require_once('/themes/simply-responsive-cp/tpl-ads-home.php'), get_sidebar, locate_template, load_template, require_once('/themes/simply-responsive-cp/sidebar.php'), dynamic_sidebar, call_user_func_array, DB_Search_Widget->renderWidget, include('/plugins/
wp-custom-fields-search/templates/
wp-custom-fields-search-form.php'), CustomSearchField->getInput, DropDownField->getInput, get_categories, get_terms, _pad_term_counts
[09-Jan-2015 11:48:07 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT * FROM wp_users WHERE ID = '295' made by do_action_ref_array, call_user_func_array, WP_User_Avatar_Admin->set_wpua_has_gravatar, WP_User_Avatar_Functions->wpua_has_gravatar, get_user_by, WP_User::get_data_by
[12-Jan-2015 16:14:05 UTC] WordPress database error Not unique table/alias: 'wp_cp_ad_pop_total' for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_cp_ad_pop_total ON (wp_posts.ID = wp_cp_ad_pop_total.postnum) INNER JOIN wp_cp_ad_pop_total ON (wp_posts.ID = wp_cp_ad_pop_total.postnum) WHERE 1=1 AND wp_posts.post_type = 'ad_listing' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'tr_pending' OR wp_posts.post_status = 'tr_failed' OR wp_posts.post_status = 'tr_completed' OR wp_posts.post_status = 'tr_activated') AND wp_cp_ad_pop_total.postcount > 0 AND wp_cp_ad_pop_total.postcount > 0 ORDER BY wp_cp_ad_pop_total.postcount DESC LIMIT 10, 10 made by require('
wp-blog-header.php'),
wp,
WP->main,
WP->query_posts, WP_Query->query, WP_Query->get_posts
[13-Jan-2015 19:53:03 UTC] WordPress database error Not unique table/alias: 'wp_cp_ad_pop_total' for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_cp_ad_pop_total ON (wp_posts.ID = wp_cp_ad_pop_total.postnum) INNER JOIN wp_cp_ad_pop_total ON (wp_posts.ID = wp_cp_ad_pop_total.postnum) WHERE 1=1 AND wp_posts.post_type = 'ad_listing' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'tr_pending' OR wp_posts.post_status = 'tr_failed' OR wp_posts.post_status = 'tr_completed' OR wp_posts.post_status = 'tr_activated') AND wp_cp_ad_pop_total.postcount > 0 AND wp_cp_ad_pop_total.postcount > 0 ORDER BY wp_cp_ad_pop_total.postcount DESC LIMIT 10, 10 made by require('
wp-blog-header.php'),
wp,
WP->main,
WP->query_posts, WP_Query->query, WP_Query->get_posts
[13-Jan-2015 21:38:20 UTC] WordPress database error Not unique table/alias: 'wp_cp_ad_pop_total' for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_cp_ad_pop_total ON (wp_posts.ID = wp_cp_ad_pop_total.postnum) INNER JOIN wp_cp_ad_pop_total ON (wp_posts.ID = wp_cp_ad_pop_total.postnum) WHERE 1=1 AND wp_posts.post_type = 'ad_listing' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'tr_pending' OR wp_posts.post_status = 'tr_failed' OR wp_posts.post_status = 'tr_completed' OR wp_posts.post_status = 'tr_activated') AND wp_cp_ad_pop_total.postcount > 0 AND wp_cp_ad_pop_total.postcount > 0 ORDER BY wp_cp_ad_pop_total.postcount DESC LIMIT 10, 10 made by require('
wp-blog-header.php'),
wp,
WP->main,
WP->query_posts, WP_Query->query, WP_Query->get_posts
[13-Jan-2015 23:30:21 UTC] WordPress database error Not unique table/alias: 'wp_cp_ad_pop_total' for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_cp_ad_pop_total ON (wp_posts.ID = wp_cp_ad_pop_total.postnum) INNER JOIN wp_cp_ad_pop_total ON (wp_posts.ID = wp_cp_ad_pop_total.postnum) WHERE 1=1 AND wp_posts.post_type = 'ad_listing' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'tr_pending' OR wp_posts.post_status = 'tr_failed' OR wp_posts.post_status = 'tr_completed' OR wp_posts.post_status = 'tr_activated') AND wp_cp_ad_pop_total.postcount > 0 AND wp_cp_ad_pop_total.postcount > 0 ORDER BY wp_cp_ad_pop_total.postcount DESC LIMIT 10, 10 made by require('
wp-blog-header.php'),
wp,
WP->main,
WP->query_posts, WP_Query->query, WP_Query->get_posts
[14-Jan-2015 17:03:41 UTC] WordPress database error Not unique table/alias: 'wp_cp_ad_pop_total' for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_cp_ad_pop_total ON (wp_posts.ID = wp_cp_ad_pop_total.postnum) INNER JOIN wp_cp_ad_pop_total ON (wp_posts.ID = wp_cp_ad_pop_total.postnum) WHERE 1=1 AND wp_posts.post_type = 'ad_listing' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'tr_pending' OR wp_posts.post_status = 'tr_failed' OR wp_posts.post_status = 'tr_completed' OR wp_posts.post_status = 'tr_activated') AND wp_cp_ad_pop_total.postcount > 0 AND wp_cp_ad_pop_total.postcount > 0 ORDER BY wp_cp_ad_pop_total.postcount DESC LIMIT 10, 10 made by require('
wp-blog-header.php'),
wp,
WP->main,
WP->query_posts, WP_Query->query, WP_Query->get_posts