WP DB error: wp_terms doesen’t exist
-
Hey, the plugin throws an error for me:
WordPress database error: [Table ‘myDB.wp_terms’ doesn’t exist]
SELECT object_id, t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON tt.term_id = t.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN (‘category’) AND tr.object_id IN (0)I do have table prefix, so my terms table is
nx_terms
instead ofwp_terms
.
If I modify the/easyindex/lib/EasyIndex.php
on line 1043-1044 to:$q = "SELECT object_id, t.*, tt.* FROM MYDBPREFIX_terms AS t INNER JOIN MYDBPREFIX_term_taxonomy AS tt ON tt.term_id = t.term_id "; $q .= "INNER JOIN MYDBPREFIX_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id ";
And I do the same modification in
EasyIndexIndex.php
line 1067-1068, then the error disappears.
Cheers!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘WP DB error: wp_terms doesen’t exist’ is closed to new replies.