Hi i hope someone can help me out with this error in my sidebar, when i upgraded from 1.0.9 to 1.2.1 i found this error where my links (blogroll) should be.
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
I gues the problem is whitin my sidebar.php code. so mabe some one can spot an error in here...
<div class="right_content">
<?php $link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories");
foreach ($link_cats as $link_cat) { ?><div class="right_header"><?php echo $link_cat->cat_name; ?></div>
<div class="right_content">
<ul style="margin-left:20">
<?php get_links($link_cat->cat_id, '<li class="li3">', '', ' ', FALSE, 'id', TRUE, TRUE, -1, TRUE); ?>
</div>
i tried about everything myselfe, but i gues i´m not that good with php and this kind of errors, hope someone can help me out with this problem...
regards rizl