• Hello,
    I am having several problems with my WordPress site (on bluehost).
    1) Very slow page loading (7 second average)
    2) intermittent service interruptions (site unavailable)
    Bluehost support is not helping me. They have been giving me generic information and some excuses.
    So I am digging into the problems.

    Next error I see is this (actually 2 errors):
    A) This “MySQL server has gone away” error. I see several like the one below. Any ideas?
    [14-Jan-2013 20:10:34] 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 = ‘nav_menu’ AND t.name = ‘2994’ LIMIT 1 made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/alyeska/404.php’), get_footer, locate_template, load_template, require_once(‘/themes/alyeska/footer.php’), themeblvd_footer_sub_content, do_action(‘themeblvd_footer_sub_content’), call_user_func_array, alyeska_footer_sub_content_default, wp_nav_menu, wp_get_nav_menu_object, get_term_by

    B) Also see several errors like this “SQL syntax” error. Any ideas?
    [24-Jan-2013 16:05:19] 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 ” at line 1 for query UPDATE wp_sam_ads SET wp_sam_ads.ad_hits = wp_sam_ads.ad_hits+1, wp_sam_ads.ad_weight_hits = wp_sam_ads.ad_weight_hits+1 WHERE wp_sam_ads.id = made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/alyeska/archive.php’), themeblvd_main_top, do_action(‘themeblvd_main_top’), call_user_func_array, themeblvd_main_top_default, themeblvd_display_sidebar, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, simple_ads_manager_widget->widget, SamAdPlace->__construct, SamAdPlace->buildAd

    Thanks.

Viewing 1 replies (of 1 total)
  • The “MySQL server has gone away” error means that the web server looses it’s connection to the database server after it’s initially connected. Normally this means that there’s a communication problem somewhere between the servers. That’s something for your host to fix.

    The second error is coming from a plugin, and it looks like got something to do with ads. If what you posted here is everything, then the SQL query is missing the ID that it needs to update the record in the database. This is something that you’d want to take up with the plugins author for support. If it’s a plugin off this site you cna ask in that plugins page.

    As for the speed, I’d test this by deactivating ALL plugins, and activating the default TwentyElven or TwentyTwelve theme. this will show you if there’s a problem with the base installation of WP. if that loads fine, then activate your theme and plugins one-by-one and see which one/ones create the extra page build time.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress database error’ is closed to new replies.