Hi,
I've followed this
tutorial:
https://cloud.google.com/datastore/docs/reference/libraries#client-libraries-usage-php
I'm attempting to run the code in the local dev_appserver, but I get the
following exception:
*Fatal error*: Uncaught exception
'Google\Cloud\Core\Exception\ServiceException' with message
'curl_setopt_array(): cannot represent a stream of type MEMORY as a STDIO
FILE*' in
K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-core\RequestWrapper.php:241
Stack trace: #0
K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-core\RequestWrapper.php(150):
Google\Cloud\Core\RequestWrapper->convertToGoogleException(Object(Google\Cloud\Core\Exception\ServiceException))
#1
K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-core\RestTrait.php(86):
Google\Cloud\Core\RequestWrapper->send(Object(GuzzleHttp\Psr7\Request),
Array) #2
K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-datastore\Connection\Rest.php(81):
Google\Cloud\Datastore\Connection\Rest->send('projects', 'commit', Array)
#3
K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-datastore\Operation.php(447):
Google\Cloud\Datastore\Connection\Rest->commit(Array) #4
K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-datastore\DatastoreClient.php(
in
*K:\AppEngineProjects\IronOakAppspot\vendor\google\cloud-core\RequestWrapper.php*
on
line *241*
How do I fix this?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/7a81858f-d151-49a7-96d5-ea5233d65673%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.