Get lots of errors in my apache error log.
[Wed Jan 16 15:29:18 2013] [error] [client 79.138.3.131] WordPress databasfel f\xc3\xb6r Unknown column ‘wp_term_relationships.term_taxonomy_id’ in ‘where clause’ f\xc3\xb6rfr\xc3\xa5gan SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND 0 = 1 AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status = ‘publish’) AND wp_term_relationships.term_taxonomy_id NOT IN ( 25,24,22,21,20,19,18,14,9,13,17,15,11,7,51,57,26,49,48,38,47,46,31,37,45,39,30,35,33,44,29,40,28,34,36,43,32,42,27,41,53,67,61,6,52,65,63,1,54,23,62,10,50,56,58,59,55,66,12,4,16,64 ) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 20 skapat av require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
https://www.ads-software.com/extend/plugins/no-sub-category-posts-in-loop/
]]>I’m not sure this is completely related to this plugin but I have some strange behaviour on my site.
The site is https://www.planetrail.co.uk/
On the second menu (dark blue) you will see ‘Holidays by Rail’, ‘Destinations’, ‘Holiday Ideas’ and ‘Seasonal’. All work fine except Destinations – if I select a sub category item from any of those menu’s it’s OK. However if I click the menu heading (‘Holidays by Rail’, ‘Destinations’, ‘Holiday Ideas’ or ‘Seasonal’) I should just get the one post in than category (and no posts from sub categories – I use a plugin to hande that).
If I click on Destinations I also get the three posts that are in the sub category of United Kingdom but not those from other posts in sub categories – weird.
I’m puzzled – any ideas?
Thanks.