Skip to content

Wordpress Error #1

@amrsd

Description

@amrsd

Hello,
I installed your plugin on InstantWP on a I7 notebook running Windows 8.

Updates the Parse.com keys in Settings.

I executed the following code

function catify($text) {
$text = str_replace('Chinaz', 'Egypt', $text); //dummy statement to ensure
$dataToGet = new parseObject('Class1'); //Goes well
$dataToGet->__set('QuestionID','Q555'); //Goes well
//$dataToGet->update(cQVmP3VW3J); //if un commented gives the error below when reloading a Wordpress page

return $text;

}

The Error Message after uncommenting & refreshing


Array ( [method] => PUT [requestUrl] => classes/Class1/cQVmP3VW3J [data] => Array ( [QuestionID] => Q555 ) )

Fatal error: Uncaught ParseLibraryException: [0]: thrown in C:\DevTools\InstantWP_4.3\iwpserver\htdocs\wordpress\wp-content\plugins\wordpress-parse-plugin\inc\classes\parse.php on line 180


In Parse.com
Inside the Data Browser I have the following class [Class1] created before code exe.
[objectId] [QuestionID] [createdAt] [updatedAt] [ACL]
cQVmP3VW3J QTest1 2013-08-17T07:55... .... undefined

I'll try to run whole this on Windows 7 32 bit system

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions