• erusch

    (@erusch)


    I tried to upgrade WP after not doing so for a long time.

    On 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

    (@samboll)

    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
    Replace the deprecated tags with the updated ones.

    indigogypsy

    (@indigogypsy)

    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.