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 'AND cat_id = tax_catID AND cat_active = '1' ORDER BY cat_pos ASC' at line 1
SELECT tax_catID FROM blog_post_categories,blog_taxonomy WHERE tax_postID = AND cat_id = tax_catID AND cat_active = '1' ORDER BY cat_pos ASC
array(4) {
  [0]=>
  array(4) {
    ["file"]=>
    string(92) "/data/vhosts/platinummediagroup.co.uk/httpdocs/admin/extensions/blogs/classes/class.post.php"
    ["line"]=>
    int(230)
    ["function"]=>
    string(7) "dbQuery"
    ["args"]=>
    array(1) {
      [0]=>
      string(141) "SELECT tax_catID FROM blog_post_categories,blog_taxonomy WHERE tax_postID =  AND cat_id = tax_catID AND cat_active = '1' ORDER BY cat_pos ASC"
    }
  }
  [1]=>
  array(7) {
    ["file"]=>
    string(75) "/data/vhosts/platinummediagroup.co.uk/httpdocs/includes/blog-post-issue.php"
    ["line"]=>
    int(6)
    ["function"]=>
    string(14) "get_categories"
    ["class"]=>
    string(9) "blog_post"
    ["object"]=>
    object(blog_post)#54 (19) {
      ["id"]=>
      NULL
      ["blogID"]=>
      NULL
      ["author"]=>
      NULL
      ["dateAdded"]=>
      NULL
      ["datePublished"]=>
      NULL
      ["dateModified"]=>
      NULL
      ["status"]=>
      string(5) "DRAFT"
      ["title"]=>
      NULL
      ["subtitle"]=>
      NULL
      ["slug"]=>
      NULL
      ["summary"]=>
      NULL
      ["content"]=>
      string(0) ""
      ["pos"]=>
      NULL
      ["dateExpire"]=>
      NULL
      ["featured"]=>
      int(0)
      ["publish_date"]=>
      NULL
      ["publish_time"]=>
      NULL
      ["lang":"blog_post":private]=>
      string(2) "en"
      ["trans_id"]=>
      NULL
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(1) {
      [0]=>
      &array(1) {
        ["active_only"]=>
        string(1) "1"
      }
    }
  }
  [2]=>
  array(4) {
    ["file"]=>
    string(77) "/data/vhosts/platinummediagroup.co.uk/httpdocs/includes/content-blog_post.php"
    ["line"]=>
    int(54)
    ["args"]=>
    array(1) {
      [0]=>
      string(75) "/data/vhosts/platinummediagroup.co.uk/httpdocs/includes/blog-post-issue.php"
    }
    ["function"]=>
    string(7) "include"
  }
  [3]=>
  array(4) {
    ["file"]=>
    string(56) "/data/vhosts/platinummediagroup.co.uk/httpdocs/index.php"
    ["line"]=>
    int(199)
    ["args"]=>
    array(1) {
      [0]=>
      string(77) "/data/vhosts/platinummediagroup.co.uk/httpdocs/includes/content-blog_post.php"
    }
    ["function"]=>
    string(7) "include"
  }
}