Forums

One sql error for another... (4 posts)

  1. trblclef
    Member
    Posted 2 years ago #

    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

  2. MichaelH
    moderator
    Posted 2 years ago #

    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 function instead.

  3. Otto42
    Moderator
    Posted 2 years ago #

    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.

  4. trblclef
    Member
    Posted 2 years ago #

    awesome, thanks guys...the theme was the deal, should have known better. i'm awake now!

    cheers

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags