parse.com-php-library icon indicating copy to clipboard operation
parse.com-php-library copied to clipboard

here's the thing want the invalid parameters error in response but the parse api returns this error

Open zerodark30 opened this issue 11 years ago • 0 comments

Fatal error: Cannot use object of type stdClass as array in C:\xampp\htdocs\ielts\parse.php on line 190

my code is $loginUser = new parseUser; $loginUser->username = $testUser['username']; $loginUser->password = $testUser['password'];

    $returnLogin = $loginUser->login();
    $objArray = get_object_vars($returnLogin);
    echo "<pre>";print_r($objArray);
    $freking_object_id = $objArray['objectId'];
    echo $freking_object_id;

zerodark30 avatar Oct 09 '13 19:10 zerodark30