Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I had been using WordPress for the past three years. I haven't got any errors in the error_log.

I think the problem would be cause of the new server my hosting is in.

For the last two months i am getting the following errors in error_log

The error is...

Error 1

SELECT t.*, tt.*, tr.object_id FROM wp_terms AS t 
INNER JOIN wp_term_taxonomy AS tt ON tt.term_id = t.term_id 
INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id
WHERE tt.taxonomy IN ('category', 'post_tag') 
AND tr.object_id IN (297, 288, 282, 279, 277, 273, 271, 269, 255, 252) 

made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, update_post_caches, update_object_term_cache, wp_get_object_terms

Error 2

WordPress database error Got error 28 from storage engine 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 ('7') 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, 10 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts

Error 3

WordPress database error Got error 28 from storage engine for query SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type, SUBSTRING(comment_content,1,60) AS com_excerpt FROM wp_comments LEFT OUTER JOIN wp_posts ON (wp_comments.comment_post_ID = wp_posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password = '' ORDER BY comment_date_gmt DESC LIMIT 5 made by require, require_once, include, get_footer, locate_template, load_template, require_once, src_simple_recent_comments

Any idea why these error is thrown?

I cleared the log and browsed the pages and checked for errors but nothing appeared..

these error occurred starting from dec 25 to till date.

share|improve this question

2 Answers 2

Error 28 - No Space Left on drive.

  • In this case you can clean up your site/db (depanding on hosting plan space for db can be calculated separatly)
  • Order more space from your ISP.
share|improve this answer

I got the same error and fixed it by running the database repair within wpdb-manager plugin from lester chan.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.