Skip to content

Commit

Permalink
Fix Undefined Error
Browse files Browse the repository at this point in the history
Should fix Error: Undefined constant "Couchbase\COUCHBASE_EXTENSION_NAMESPACE"
  • Loading branch information
srjlewis authored Dec 2, 2024
1 parent af1b61d commit a493634
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Couchbase/Cluster.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a493634

Please sign in to comment.