Support » Plugin: WP-Paginate » Database error message linked to WP-Paginate

  • I have three WordPress sites with identical error messages filling up the php error_log. I manage about 20 WordPress sites and only the 3 with WP-Paginate installed are generating the following error:

    [15-Nov-2012 16:32:21 UTC] 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 > ‘2011-06-08 16:18:39’ 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 > ‘2011-06-08 16:18:39’ 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/church/single.php’), next_post_link, adjacent_post_link, get_adjacent_post

    I’m using WP-paginate v. 1.2.4 with WordPress 3.4.2.

    Has anyone else run into this problem? Any solution?

    http://wordpress.org/extend/plugins/wp-paginate/

  • The topic ‘Database error message linked to WP-Paginate’ is closed to new replies.