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(2) {
[0]=>
array(4) {
["file"]=>
string(95) "/var/www/vhosts/mayowynnebaxter.co.uk/httpdocs/admin/extensions/people/classes/class.person.php"
["line"]=>
int(183)
["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(57) "/var/www/vhosts/mayowynnebaxter.co.uk/httpdocs/person.php"
["line"]=>
int(50)
["function"]=>
string(16) "get_testimonials"
["class"]=>
string(6) "person"
["object"]=>
object(person)#6 (17) {
["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
["fullname"]=>
NULL
}
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
}