I think it's because I have to change something but the site where I downloaded it is down so I can't go check.
<?php $catid = $wpdb->get_var("SELECT cat_ID FROM $wpdb->categories WHERE cat_name='Asides'"); ?>
<?php $catid = $wpdb->get_var("SELECT cat_ID FROM $wpdb->categories WHERE cat_name='Featured'"); ?>
Those are the codes that give me databse error saying the table doesn't exist. Can anyone help?