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 'ORDER BY test_pos, test_id' at line 1
SELECT * FROM people_testimonials WHERE test_ppID = ORDER BY test_pos, test_id
array(3) {
  [0]=>
  array(4) {
    ["file"]=>
    string(95) "/var/www/vhosts/mayowynnebaxter.co.uk/httpdocs/admin/extensions/people/classes/class.person.php"
    ["line"]=>
    int(200)
    ["function"]=>
    string(7) "dbQuery"
    ["args"]=>
    array(1) {
      [0]=>
      &string(79) "SELECT * FROM people_testimonials WHERE test_ppID =  ORDER BY test_pos, test_id"
    }
  }
  [1]=>
  array(7) {
    ["file"]=>
    string(74) "/var/www/vhosts/mayowynnebaxter.co.uk/httpdocs/includes/content-person.php"
    ["line"]=>
    int(5)
    ["function"]=>
    string(16) "get_testimonials"
    ["class"]=>
    string(6) "person"
    ["object"]=>
    object(person)#11 (26) {
      ["id"]=>
      NULL
      ["active"]=>
      NULL
      ["dateAdded"]=>
      NULL
      ["dateModified"]=>
      NULL
      ["firstNames"]=>
      NULL
      ["surname"]=>
      NULL
      ["slug"]=>
      NULL
      ["position"]=>
      NULL
      ["office"]=>
      NULL
      ["summary"]=>
      NULL
      ["details"]=>
      NULL
      ["pos"]=>
      NULL
      ["wpUser"]=>
      NULL
      ["linkedIn"]=>
      NULL
      ["twitter"]=>
      NULL
      ["facebook"]=>
      NULL
      ["building"]=>
      NULL
      ["street"]=>
      NULL
      ["town"]=>
      NULL
      ["region"]=>
      NULL
      ["postcode"]=>
      NULL
      ["country"]=>
      NULL
      ["url"]=>
      NULL
      ["latitude"]=>
      NULL
      ["longitude"]=>
      NULL
      ["fullName"]=>
      NULL
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(0) {
    }
  }
  [2]=>
  array(4) {
    ["file"]=>
    string(55) "/var/www/vhosts/mayowynnebaxter.co.uk/httpdocs/page.php"
    ["line"]=>
    int(48)
    ["args"]=>
    array(1) {
      [0]=>
      string(74) "/var/www/vhosts/mayowynnebaxter.co.uk/httpdocs/includes/content-person.php"
    }
    ["function"]=>
    string(7) "include"
  }
}