PHP - Call to undefined method Couchbase::touch()
I'm trying to use the touch method using PHP SDK 1.0.5, apparently the method doesn't really exist even though it's clearly in the documentation?
Hi,
you are not missing anything - touch is not available in 1.0 (this may be a documentation bug). It is available in the 1.1 release which is currently in developer preview (http://www.couchbase.com/develop/php/next).
Best,
Michael
Is it possible to you the 1.1release for the 1.8 couchbase? Function like touch that is not available in 1.0?
The 1.1 release will be (and is) compatible with 1.8, but you won't be able to use the view-related functionality of course.
To confirm, yes it's a documentation bug. This says Touch exists.
http://www.couchbase.com/docs/couchbase-sdk-php-1.0/api-reference-summar...
Hi, I also checked it now, your right, the method does not exist, There must some configuration that we are missing