Title: WordPress Data Base Error
Last modified: August 18, 2016

---

# WordPress Data Base Error

 *  [erusch](https://wordpress.org/support/users/erusch/)
 * (@erusch)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wordpress-data-base-error-1/)
 * I tried to upgrade WP after not doing so for a long time.
 * On [http://www.framedartdecor.com/decorating](http://www.framedartdecor.com/decorating)
   I’m getting 2 error messages. GoDaddy support says okay on their end (big surprise).
   Any ideas how to fix would be hugely appreciated. Here’s one…
 * 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‘
   INNER JOIN wp_links ON link_category = cat_id WHERE lin]
    SELECT cat_id, cat_name,
   COUNT( link_id ) as num_links FROM INNER JOIN wp_links ON link_category = cat_id
   WHERE link_visible = ‘Y’ GROUP BY cat_id HAVING num_links > 0 ORDER BY cat_name

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wordpress-data-base-error-1/#post-546359)
 * See if your theme’s author has an updated theme for 2.1.x.
    You can do it yourself
   manually in sidebar.php if you need to. Here are the list of template tags: [http://codex.wordpress.org/Template_Tags#Author_tags](http://codex.wordpress.org/Template_Tags#Author_tags)
   Replace the deprecated tags with the updated ones.
 *  [indigogypsy](https://wordpress.org/support/users/indigogypsy/)
 * (@indigogypsy)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wordpress-data-base-error-1/#post-546372)
 * Actually, erusch, you are screwed. There is no easy fix to this. This has nothing
   to do with the theme. Don’t waste your time. Go ahead — just try changing to 
   one of the approved themes. You’ll see it doesn’t make one bit of difference.

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

The topic ‘WordPress Data Base Error’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [indigogypsy](https://wordpress.org/support/users/indigogypsy/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/wordpress-data-base-error-1/#post-546372)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
