When I make a search on my site no posts are retrieved and through wordpress debug I get this error message:
WordPress database error: [Table 'theme_se.wp_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_theme_se_posts.ID FROM wp_theme_se_posts WHERE 1=1 AND ( (wp_posts.post_title LIKE '%paradox%') OR (wp_posts.post_content LIKE '%paradox%') OR EXISTS ( SELECT * FROM wp_comments WHERE comment_post_ID = wp_posts.ID AND comment_content LIKE '%paradox%' ) OR EXISTS ( SELECT * FROM wp_terms INNER JOIN wp_term_taxonomy ON wp_term_taxonomy.term_id = wp_terms.term_id INNER JOIN wp_term_relationships ON wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id WHERE taxonomy = 'post_tag' AND object_id = wp_posts.ID AND wp_terms.name LIKE '%paradox%' ) ) AND wp_theme_se_posts.post_type IN ('post', 'page', 'attachment', 'referenser', 'partners', 'galleri') AND (wp_theme_se_posts.post_status = 'publish' OR wp_theme_se_posts.post_author = 1 AND wp_theme_se_posts.post_status = 'private') ORDER BY wp_theme_se_posts.post_title LIKE '%paradox%' DESC, wp_theme_se_posts.post_date DESC LIMIT 0, 12
I have deleted all my plugins but it is still not working and the wp_comments table does exist when I view it through phpmyadmin