Cannot install SDK v2.1.0 on Mac OSX

Hi, @brett19

I now tried out how the plugin works in production and I am constantly getting the following error when executing a view-query:

Fatal error: Cannot use object of type stdClass as array in [CouchbaseNative]/CouchbaseBucket.class.php on line 284

Here’s the PHP code I use:

$cc = new \CouchbaseCluster();
$cb = $cc->openBucket("mybucket");
$test = $cb->query(\CouchbaseViewQuery::from("foo", "bar"));

Maybe the code in the repository is differnt as well …? GitHub - couchbase/php-couchbase at v2.1.0