Title: Slimstat causes wordpress database error
Last modified: August 18, 2016

---

# Slimstat causes wordpress database error

 *  [deadhippo](https://wordpress.org/support/users/deadhippo/)
 * (@deadhippo)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/slimstat-causes-wordpress-database-error/)
 * I installed slimstat and it seems to be working bt it causes this error
 * > 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 ” at line 6]
   >  SELECT `tp`.`post_title` FROM `wp_posts` AS `tp`, `wp_post2cat`
   > AS `tp2c`, `wp_categories` AS `tc` WHERE (1 = 1) AND `tp`.`ID` = `tp2c`.`post_id`
   > AND `tc`.`cat_ID` = `tp2c`.`category_id` AND `tc`.`category_nicename` = ’57’
   > AND `tp`.`ID` =
 * By working fine, the stats are there but I have this scrolling down my page and
   each time i check the error messages are getting longer and longer.
 * Can anyone help?

The topic ‘Slimstat causes wordpress database error’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [deadhippo](https://wordpress.org/support/users/deadhippo/)
 * Last activity: [19 years, 3 months ago](https://wordpress.org/support/topic/slimstat-causes-wordpress-database-error/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
