WordPress.org

Ready to get started?Download WordPress

Forums

Need help with PHP. WP database error after updating... (4 posts)

  1. inneractive
    Member
    Posted 6 years ago #

    I've lost my blogroll. It now appears as this 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 '' at line 1]
    SELECT cat_id, cat_name FROM

    Anyone know how to fix this?
    thanks,
    Jeff

  2. moshu
    Member
    Posted 6 years ago #

    Probably, you are using a theme that has deprecated template tags in its sidebar.
    http://codex.wordpress.org/Template_Tags

  3. inneractive
    Member
    Posted 6 years ago #

    Thank you moshu. I understand a little better what the problem is, but I'm still unsure how to resolve this. Can I add some code? Or do I need to update to another theme that is compatible with the newer versions of WP?

    thanks again,
    Jeff
    PS the visual anatomy was helpful!

  4. Jeremy Clark
    Moderator
    Posted 6 years ago #

    Update your theme.

Topic Closed

This topic has been closed to new replies.

About this Topic