I’m just trying to connect couchbase in my symfony project using Simonsimcity Couchbase Bundle.
I have written this code
// Establish connection
$cluster = new CouchbaseCluster(‘http://127.0.0.1:8091’);
$bucket = $cluster->openBucket(“default”);
$bucket->enableN1ql(‘http://127.0.0.1:8091’);
After run this code the error shows
Catchable Fatal Error: Argument 4 passed to Simonsimcity\CouchbaseBundle\Wrapper\CouchbaseCluster::__construct() must be an instance of Symfony\Component\Stopwatch\Stopwatch, none given, called in E:\Projects\UgR\src\AppBundle\Service\ModelService.php on line 21 and defined
Couldn’t get out of this problem is last two days. Any solution please to get access properly my couchbase library?