Title: wp-chgfontsize causing database error
Last modified: August 19, 2016

---

# wp-chgfontsize causing database error

 *  Resolved [trdunsworth](https://wordpress.org/support/users/trdunsworth/)
 * (@trdunsworth)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/wp-chgfontsize-causing-database-error/)
 * We’ve been running both 2.7 and 2.9.2 and we’re getting a WordPress database 
   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‘
   order ASC’ at line 1 for query SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN
   wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN (‘category’)
   AND ( t.term_id <> 1 AND t.term_id <> 7 AND t.term_id <> 10 AND t.term_id <> 
   13 AND t.term_id <> 4 AND t.term_id <> 3 AND t.term_id <> 12 AND t.term_id <>
   8 AND t.term_id <> 9 AND t.term_id <> 11 AND t.term_id <> 13 ) ORDER BY order
   ASC made by require, require_once, include, get_sidebar, locate_template, load_template,
   require_once, wp_list_categories, get_categories, get_terms
 * The error is stopped when we remove the plug-in. The error started this morning
   after a pdf file was uploaded. The whole database came down and was restored 
   from a back-up after anomalies were found within. Even with the brand new database,
   we are getting this error when we restored from good clean back ups and this 
   plug in appears to be the culprit.
 * What am I missing here to fix this?
 * Thank you in advance?

The topic ‘wp-chgfontsize causing database error’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [trdunsworth](https://wordpress.org/support/users/trdunsworth/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/wp-chgfontsize-causing-database-error/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
