From 3afcfcccbd26dce70a21fb868d506e3ffb6de95f Mon Sep 17 00:00:00 2001 From: Steven Lewis Date: Mon, 2 Dec 2024 11:47:34 +0000 Subject: [PATCH] Fix Undefined Error Should fix Error: Undefined constant "Couchbase\COUCHBASE_EXTENSION_NAMESPACE" --- Couchbase/Cluster.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Couchbase/Cluster.php b/Couchbase/Cluster.php index 702d46c8..8df1e377 100644 --- a/Couchbase/Cluster.php +++ b/Couchbase/Cluster.php @@ -138,6 +138,7 @@ function (string $connectionString, ClusterOptions $options) { */ public static function notifyFork(string $event) { + ExtensionNamespaceResolver::defineExtensionNamespace(); $function = COUCHBASE_EXTENSION_NAMESPACE . '\\notifyFork'; return $function($event); }