Support » Plugin: WP Knowledgebase » Database Error wp_term_taxonomy

  • Some tiny error the Plugin assume that the WP Table have the WP Prefix . If like recomendet you use any other prefix the SUM will fail with following error DEBUGG ON

    SELECT Sum(count) FROM wp_term_taxonomy WHERE taxonomy = ‘kbe_taxonomy’ And parent = 3145

Viewing 1 replies (of 1 total)
  • Fixed it in the Theme File kbe_knowledgebase.php Just for #MEMO

    + global $wpdb;
    + $table_term_tax = $wpdb->prefix. ‘term_taxonomy’;

    foreach($kbe_terms as $kbe_taxonomy){
    .
    .
    .
    $kbe_count_sum = $wpdb->get_var(“SELECT Sum(count)
    + FROM “.$table_term_tax .”
    WHERE taxonomy = ‘”.KBE_POST_TAXONOMY.”‘
    And parent = $kbe_term_id”
    );

Viewing 1 replies (of 1 total)
  • The topic ‘Database Error wp_term_taxonomy’ is closed to new replies.