• I was trying to view permalinked posts on my friend’s site because she was unable to, and we kept getting 404 errors on the pages with these errors:

    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 'GROUP BY wp_posts.ID ORDER BY post_date DESC' at line 1]
    SELECT wp_posts.* FROM wp_posts LEFT JOIN wp_post2cat ON (wp_posts.ID = wp_post2cat.post_id) LEFT JOIN wp_categories ON (wp_post2cat.category_id = wp_categories.cat_ID) WHERE 1=1 AND post_name = 'just-the-voice' AND category_id IN (7) AND (post_type = 'post') AND ((wp_catt_visibility.archives=1 AND wp_catt_visibility.cv_user_level<='10') OR post_type='page' OR wp_catt_visibility.catt_ID IS NULL GROUP BY wp_posts.ID ORDER BY post_date DESC

    Which strikes me as odd because we haven’t modified that plugin in any way. Does anyone know about what I can change within the plugin so the error will stop coming up and the permalinks will work again?

    (For now, I’ve disabled Category Visibility on her site and the permalinks work just fine)

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

The topic ‘Error with Category Visibility Plugin’ is closed to new replies.