• Resolved gixbecks

    (@gixbecks)


    WP version: 2.1.2 on theme “Bloo”

    I’ve got this Error Message once I applied the Theme to my blog without customizing.
    Anyone please help? Thanks a lot!!

    Sidebar Error Message:
    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]

    Screen Capture

    Codes in sidebar.php: (ERROR part)
    **The BOLD part is what IF I simply REMOVE the codes of this part, the Sidebar don’t even show up with another Error Msg!!


    <?php $link_cats = $wpdb->get_results("select");
    foreach ($link_cats as $link_cat) { ?>
    <?php } ?>

    • <div id="sb_header"><h2><?php _e('Links'); ?></h2></div>
      <?php get_links('-1', '

    • ', '
    • ', ''); ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Database Error Message in Sidebar once New Theme applied’ is closed to new replies.