Some categories are broken
-
Hello, I just installed wordpress 2.1, and noticed that some of the categories are broken on my site. E.g., go to http://www.flavor8.com/, select “sections // arts & entertainment // audio / music”, and you will see the error:
Warning: join() [function.join]: Bad arguments. in XXX/wp-includes/category.php on line 276
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 post_type = ‘post’ AND post_status = ‘publish” at line 1]
SELECT post_id, category_id FROM wp_post2cat LEFT JOIN wp_posts ON post_id = ID WHERE category_id IN () AND post_type = ‘post’ AND post_status = ‘publish’Warning: Invalid argument supplied for foreach() in /home/.lesley/rjfirmin/flavor8.dreamhosters.com/wp-includes/category.php on line 286
* No categories
The topic ‘Some categories are broken’ is closed to new replies.