Insert or update document return NULL


#1

Dear members,

Sometimes my replace or insert document php request return ‘NULL’ instead of object

object(CouchbaseMetaDoc)#1 (4) {
[“error”]=>
NULL
[“value”]=>
string(0) “”
[“flags”]=>
int(0)
[“cas”]=>
resource(5) of type (CAS)
}

Do you know why ?


#2

Which server and client versions are you using? Do you have code to reproduce it? This will help @brett19 to find it more quickly.


#3

I use these versions
php 5.5.18
couchbase 3.0.0
sdk php 2.0.0

I will try with 2.0.1 and I will post result soon.


#4

Hey arnaudce,

A new version of the PHP SDK was released today that fixed some issues which will hopefully resolve this! Please let me know what you find.
Read more here: http://docs.couchbase.com/developer/php-2.0/release-notes.html

Cheers, Brett