I'm using the PHP parse.com SDK to get some data from the server, but whenever I try to do the $query->find() nothing happens.
$historyDB = new ParseObject('History', $historyId);
$relation = $historyDB->getRelation("exams");
$query = $relation->getQuery();
$findQuery = $query->find();
My $findQuery variable whenever I try to print_r() it shows this error:
exception 'Parse\ParseException' with message 'missing class name' in
C:\wamp\www\parse\php-sdk\src\Parse\ParseClient.php:297 Stack trace: #0
C:\wamp\www\parse\php-sdk\src\Parse\ParseQuery.php(346):
Parse\ParseClient::_request('GET', '/1/classes/?whe...', NULL, NULL, false) #1
C:\wamp\www\report.php(110): Parse\ParseQuery->find() #2 {main}
I have no idea why, Thanks in advance.