Laravel-Couchbase icon indicating copy to clipboard operation
Laravel-Couchbase copied to clipboard

Error executing the sample insert code mentioned in README

Open MohsinTariq10 opened this issue 9 years ago • 3 comments

13

MohsinTariq10 avatar Aug 16 '16 06:08 MohsinTariq10

Got the same exception, resorted to using this code: DB::connection('couchbase')->openBucket('testing')->insert($key, $document);

I think it has something to do with binding an array: https://github.com/ytake/Laravel-Couchbase/blob/2f9cffcb5eda8b899a1c9411f2c366eebf5f2543/src/Database/CouchbaseConnection.php#L224

libcouchbase runtime version => 2.6.2 (git: 788e1eeda075eddd8204ecc3fc5028add74e8074)
libcouchbase headers version => 2.6.2 (git: 788e1eeda075eddd8204ecc3fc5028add74e8074)
Couchbase Server Version 4.1.0-5005

bagf avatar Aug 18 '16 07:08 bagf

What version of PHP and php-couchbase are you using?

ytake avatar Aug 22 '16 12:08 ytake

PHP 7.0.8 & Couchbase Server Version 4.1.0-5005

bagf avatar Aug 22 '16 12:08 bagf