My site suddenly started showing empty post details & even page description is empty.
Following is the error I am getting in my error log.
It suddenly started from last 1 day. I tried to update all plugins but still I am facing same problem. Any help will really appriciated.
[10-Sep-2012 17:50:44] 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 ') WHERE p.post_date > '2012-08-12 18:09:42' AND p.post_type = 'attachment' AND p' at line 1 for query SELECT p.* FROM wp_posts AS p INNER JOIN wp_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN wp_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id AND tt.taxonomy = 'category' AND tt.term_id IN () WHERE p.post_date > '2012-08-12 18:09:42' AND p.post_type = 'attachment' AND p.post_status = 'publish' AND tt.taxonomy = 'category' ORDER BY p.post_date ASC LIMIT 1 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/glory-theme/glory/single.php'), next_post_link, adjacent_post_link, get_adjacent_post