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 post_trans_langID = 2' at line 1
SELECT * FROM blog_posts_translations WHERE post_trans_postID = AND post_trans_langID = 2
array(3) {
  [0]=>
  array(4) {
    ["file"]=>
    string(76) "/home/bwweb/public_html/www/uk/admin/extensions/blogs/classes/class.post.php"
    ["line"]=>
    int(93)
    ["function"]=>
    string(7) "dbQuery"
    ["args"]=>
    array(1) {
      [0]=>
      &string(90) "SELECT * FROM blog_posts_translations WHERE post_trans_postID =  AND post_trans_langID = 2"
    }
  }
  [1]=>
  array(7) {
    ["file"]=>
    string(44) "/home/bwweb/public_html/www/uk/blog_post.php"
    ["line"]=>
    int(19)
    ["function"]=>
    string(11) "__construct"
    ["class"]=>
    string(9) "blog_post"
    ["object"]=>
    object(blog_post)#10 (18) {
      ["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"]=>
      NULL
      ["pos"]=>
      NULL
      ["dateExpire"]=>
      NULL
      ["publish_date"]=>
      NULL
      ["publish_time"]=>
      NULL
      ["lang":"blog_post":private]=>
      string(2) "us"
      ["trans_id"]=>
      NULL
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(3) {
      [0]=>
      &string(0) ""
      [1]=>
      &string(11) "maintenance"
      [2]=>
      &string(2) "us"
    }
  }
  [2]=>
  array(4) {
    ["file"]=>
    string(44) "/home/bwweb/public_html/www/us/blog_post.php"
    ["line"]=>
    int(2)
    ["args"]=>
    array(1) {
      [0]=>
      string(44) "/home/bwweb/public_html/www/uk/blog_post.php"
    }
    ["function"]=>
    string(7) "include"
  }
}