• Resolved thelanj

    (@thelanj)


    [20-Feb-2015 00:37:19 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 ‘) AND p.ID NOT IN ( SELECT tr.object_id FROM wp_6pterm_relationships tr LEF’ at line 3 for query SELECT p.* FROM wp_6pposts AS p
    INNER JOIN wp_6pterm_relationships AS tr ON p.ID = tr.object_id INNER JOIN wp_6pterm_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id
    WHERE p.post_date > ‘2015-02-11 23:57:58’ AND p.menu_order = ‘0’ AND p.post_type = ‘premium’ AND p.post_status = ‘publish’ AND tt.taxonomy = ‘category’ AND tt.term_id IN () AND p.ID NOT IN ( SELECT tr.object_id FROM wp_6pterm_relationships tr LEFT JOIN wp_6pterm_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id) WHERE tt.term_id IN (0) ) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/conscious2tv/single-premium.php’), next_post_link, get_next_post_link, get_adjacent_post_link, get_adjacent_post, apply_filters(‘get_next_post_where’), call_user_func_array, cpto_get_next_post_where
    [20-Feb-2015 00:37:19 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 ‘) AND p.ID NOT IN ( SELECT tr.object_id FROM wp_6pterm_relationships tr LEF’ at line 3 for query SELECT p.* FROM wp_6pposts AS p
    INNER JOIN wp_6pterm_relationships AS tr ON p.ID = tr.object_id INNER JOIN wp_6pterm_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id
    WHERE p.post_date < ‘2015-02-11 23:57:58’ AND p.menu_order = ‘0’ AND p.post_type = ‘premium’ AND p.post_status = ‘publish’ AND tt.taxonomy = ‘category’ AND tt.term_id IN () AND p.ID NOT IN ( SELECT tr.object_id FROM wp_6pterm_relationships tr LEFT JOIN wp_6pterm_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id) WHERE tt.term_id IN (0) ) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/conscious2tv/single-premium.php’), previous_post_link, get_previous_post_link, get_adjacent_post_link, get_adjacent_post, apply_filters(‘get_previous_post_where’), call_user_func_array, cpto_get_previous_post_where

    https://wordpress.org/plugins/cpt-onomies/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Next and previous post link fatal errors’ is closed to new replies.