WordPress.org

Ready to get started?Download WordPress

Forums

WordPress database error MySQL server has gone away for query (5 posts)

  1. blur8809
    Member
    Posted 3 years ago #

    i check this error on error_log what should i do

    19-May-2010 01:18:03] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = 'rewrite_rules' LIMIT 1 made by require, wp, WP->main, WP->parse_request, WP_Rewrite->wp_rewrite_rules, get_option
    [19-May-2010 01:18:03] WordPress database error MySQL server has gone away for query SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_term_taxonomy ON (wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id) WHERE 1=1 AND wp_term_taxonomy.taxonomy = 'category' AND wp_term_taxonomy.term_id IN ('6', '33', '34', '35', '36', '18') AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish') GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 20 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [19-May-2010 01:18:03] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [19-May-2010 01:18:03] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'category' AND t.term_id = '6' LIMIT 1 made by require, require_once, get_category_template, get_category, get_term
    [19-May-2010 01:18:03] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'category' AND t.term_id = '6' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, mystique_title, WP_Query->get_queried_object, get_category, get_term
    [19-May-2010 01:18:03] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'category' AND t.term_id = '6' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, mystique_meta_description, term_description, WP_Query->get_queried_object, get_category, get_term
    [19-May-2010 01:18:03] PHP Catchable fatal error: Object of class WP_Error could not be converted to string in /home/easydllo/public_html/wp-content/themes/mystique/lib/core.php on line 1110
    [19-May-2010 01:18:03] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = 'rewrite_rules' LIMIT 1 made by require, wp, WP->main, WP->parse_request, WP_Rewrite->wp_rewrite_rules, get_option
    [19-May-2010 01:18:03] WordPress database error MySQL server has gone away for query SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_term_taxonomy ON (wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id) WHERE 1=1 AND wp_term_taxonomy.taxonomy = 'category' AND wp_term_taxonomy.term_id IN ('6', '33', '34', '35', '36', '18') AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish') GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 20 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [19-May-2010 01:18:03] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [19-May-2010 01:18:03] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'category' AND t.term_id = '6' LIMIT 1 made by require, require_once, get_category_template, get_category, get_term
    [19-May-2010 01:18:03] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'category' AND t.term_id = '6' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, mystique_title, WP_Query->get_queried_object, get_category, get_term
    [19-May-2010 01:18:03] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'category' AND t.term_id = '6' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, mystique_meta_description, term_description, WP_Query->get_queried_object, get_category, get_term
    [19-May-2010 01:18:03] PHP Catchable fatal error: Object of class WP_Error could not be converted to string in /home/easydllo/public_html/wp-content/themes/mystique/lib/core.php on line 1110
    [19-May-2010 01:57:50] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = 'rewrite_rules' LIMIT 1 made by require, wp, WP->main, WP->parse_request, WP_Rewrite->wp_rewrite_rules, get_option
    [19-May-2010 01:57:50] WordPress database error MySQL server has gone away for query SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.ID = 3438 AND wp_posts.post_type = 'post' ORDER BY wp_posts.post_date DESC made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [19-May-2010 04:17:18] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = 'rewrite_rules' LIMIT 1 made by require, wp, WP->main, WP->parse_request, WP_Rewrite->wp_rewrite_rules, get_option
    [19-May-2010 04:17:18] WordPress database error MySQL server has gone away for query SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts LEFT JOIN (select distinct tr.object_id, t.name from wp_term_relationships tr inner join wp_term_taxonomy tt on tt.term_taxonomy_id = tr.term_taxonomy_id inner join wp_terms t on t.term_id = tt.term_id) tr on wp_posts.ID = tr.object_id WHERE 1=1 AND (((wp_posts.post_title LIKE '%24%') OR (wp_posts.post_content LIKE '%24%')) AND ((wp_posts.post_title LIKE '%s8e%') OR (wp_posts.post_content LIKE '%s8e%')) OR (wp_posts.post_title LIKE '%24 s8e%') OR (wp_posts.post_content LIKE '%24 s8e%')) AND (wp_posts.post_password = '') AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish') OR (tr.name like '%24 s8e%' AND post_status = 'publish' AND post_type = 'post') GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 20 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [19-May-2010 04:17:18] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [19-May-2010 04:17:18] WordPress database error MySQL server has gone away for query SELECT * FROM wp_posts WHERE (post_type = 'page' AND post_status = 'publish') AND ( ID <> 1437 ) ORDER BY menu_order ASC made by require, require_once, include, get_header, locate_template, load_template, require_once, mystique_navigation, mystique_list_pages, get_pages
    [19-May-2010 04:17:18] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('category') ORDER BY t.name ASC made by require, require_once, include, get_sidebar, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, WP_Widget_Categories->widget, wp_list_categories, get_categories, get_terms
    [19-May-2010 04:17:18] WordPress database error MySQL server has gone away for query SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts LEFT JOIN (select distinct tr.object_id, t.name from wp_term_relationships tr inner join wp_term_taxonomy tt on tt.term_taxonomy_id = tr.term_taxonomy_id inner join wp_terms t on t.term_id = tt.term_id) tr on wp_posts.ID = tr.object_id WHERE 1=1 AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish') OR (tr.name like '%24 s8e%' AND post_status = 'publish' AND post_type = 'post') GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 5 made by require, require_once, include, get_sidebar, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, WP_Widget_Recent_Posts->widget, WP_Query->WP_Query, WP_Query->query, WP_Query->get_posts
    [19-May-2010 04:17:18] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, require_once, include, get_sidebar, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, WP_Widget_Recent_Posts->widget, WP_Query->WP_Query, WP_Query->query, WP_Query->get_posts
    [19-May-2010 04:17:18] WordPress database error MySQL server has gone away for query SELECT YEAR(post_date) AS year, MONTH(post_date) AS month, count(ID) as posts FROM wp_posts WHERE post_type = 'post' AND post_status = 'publish' GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date DESC made by require, require_once, include, get_sidebar, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, WP_Widget_Archives->widget, wp_get_archives

  2. blur8809
    Member
    Posted 3 years ago #

    anyone can help me

  3. blur8809
    Member
    Posted 3 years ago #

    anyone??

  4. jonisolis
    Member
    Posted 3 years ago #

    I have been having the same type of trouble for a while now, and also need help, willing to pay for help at this point! Please anyone out there that can help?

    My error_log file is HUGE! 3.87 MB (4,059,173 bytes)

    I tried disabling most of the WP plugins, but still can not fine the problem.

  5. eprofitnews
    Member
    Posted 3 years ago #

    I found this. Looks like it would help.

    http://thesocialmediaguide.com.au/2010/07/31/solution-for-wordpress-database-error-mysql-server-has-gone-away-for-query/#

    TIP. When you get an error message, copy it into a Google search (minus the name of your site and/or pages). That's how I found the above.

    Gary

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.