Title: One sql error for another&#8230;
Last modified: August 18, 2016

---

# One sql error for another…

 *  [trblclef](https://wordpress.org/support/users/trblclef/)
 * (@trblclef)
 * [19 years ago](https://wordpress.org/support/topic/one-sql-error-for-another/)
 * So, I had sql errors, was running slow, so i upgraded to the latest. followed
   the upgrade instructions to the tie. everything went fine. ran faster, posted
   faster, no more errors, i’m happy till i look at the blog and in my sidebar i
   see the following…any ideas sure would help, i’m not a sql guru but i can follow
   instructions.
 * 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 1]
    SELECT cat_id, cat_name FROM

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [19 years ago](https://wordpress.org/support/topic/one-sql-error-for-another/#post-547011)
 * Quoting venerable Otto42 here:
 * The error is that your code is no longer valid with WordPress 2.1 and up. Change
   it to use the new [wp_list_bookmarks ](http://codex.wordpress.org/Template_Tags/wp_list_bookmarks)
   function instead.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [19 years ago](https://wordpress.org/support/topic/one-sql-error-for-another/#post-547015)
 * Venerable? Wow.
 * trblclef: Your theme used custom code to display the Links in your sidebar. That
   custom code is no longer valid. You can replace it with some form of a wp_list_bookmarks()
   function call to get the Links to display again. Or look for an updated version
   of your theme.
 *  Thread Starter [trblclef](https://wordpress.org/support/users/trblclef/)
 * (@trblclef)
 * [19 years ago](https://wordpress.org/support/topic/one-sql-error-for-another/#post-547020)
 * awesome, thanks guys…the theme was the deal, should have known better. i’m awake
   now!
 * cheers

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

The topic ‘One sql error for another…’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [trblclef](https://wordpress.org/support/users/trblclef/)
 * Last activity: [19 years ago](https://wordpress.org/support/topic/one-sql-error-for-another/#post-547020)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
