Probably simple for you pros but I'm not sure how to fix it. Got a theme that was made for an older version of wordpress and now I'm running it on 2.3.1 and get this under the sidebar:
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
Pretty sure it has something to do with this line though:
<?php get_links($link_cat->cat_id, '<li>', '</li>', '<br />', FALSE, 'id', TRUE,
TRUE, -1, TRUE); ?>
just not sure what to change it to. Help very much appreciated, couldn't find much on google or WP site.
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
Pretty sure it has something to do with this line though:
<?php get_links($link_cat->cat_id, '<li>', '</li>', '<br />', FALSE, 'id', TRUE,
TRUE, -1, TRUE); ?>
just not sure what to change it to. Help very much appreciated, couldn't find much on google or WP site.