Title: WordPress database error when using Category Visibility
Last modified: August 18, 2016

---

# WordPress database error when using Category Visibility

 *  [jeftep](https://wordpress.org/support/users/jeftep/)
 * (@jeftep)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-when-using-category-visibility/)
 * [http://jefte.net](http://jefte.net) has been running wordpress for months without
   issue. Today I played with the category visibility and since then my home page
   is flooded with errors like:
 * `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 front=1' at line 1]
    SELECT cat_ID FROM cat_visibility WHERE cat_ID= AND 
   front=1
 * What Gives?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-when-using-category-visibility/#post-280657)
 * Does deleting the plugin remove the error ?
 * Does replacing the plugin with an untouched version remove the error ?
 *  Thread Starter [jeftep](https://wordpress.org/support/users/jeftep/)
 * (@jeftep)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-when-using-category-visibility/#post-280675)
 * The offending plugin was Category Visibility 0.23 ([http://www.gudlyf.com/archives/2005/03/08/wordpress-plugin-category-visibility/](http://www.gudlyf.com/archives/2005/03/08/wordpress-plugin-category-visibility/))
 * Upgrading to latest version resolves the issue.
 * Thanks Podz! As always, you are the man.
 *  [rdub](https://wordpress.org/support/users/rdub/)
 * (@rdub)
 * [20 years ago](https://wordpress.org/support/topic/wordpress-database-error-when-using-category-visibility/#post-280950)
 * I just uploaded the newest version of Category Visibility and have the error 
   also. Is anyone else having a problem with this plugin?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress database error when using Category Visibility’ is closed to
new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [rdub](https://wordpress.org/support/users/rdub/)
 * Last activity: [20 years ago](https://wordpress.org/support/topic/wordpress-database-error-when-using-category-visibility/#post-280950)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
