I have a taxonomy with posts assigned to terms, and on the term archive page i get no found post
$rewrite = array(
'slug' => 'mytax',
'with_front' => true,
'hierarchical' => false,
);
$args = array(
'labels' => $labels,
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true,
'show_tagcloud' => true,
'rewrite' => $rewrite,
and in my post list in admin, i get the same error when i filter by terms by clicking on the term in the post list i have no error, how i can proceed ? thanks in advanced
EDIT
i try to run the wp_query request ( wp_query->request
) in MySQL and it's returned the correct posts,
but the wp_query->posts
is empty
EDIT 2
i try to add a new taxonomy , add a term to this taxonomy and add a post with this taxonomy, but the taxonomy leave after update the post
SELECT SQL_CALC_FOUND_ROWS xxx_3_posts.ID FROM xxx_3_posts INNER JOIN xxx_3_term_relationships ON (xxx_3_posts.ID = xxx_3_term_relationships.object_id) WHERE 1=1 AND ( xxx_3_term_relationships.term_taxonomy_id = 10 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