diff --git a/src/Appwrite/Event/Validator/Event.php b/src/Appwrite/Event/Validator/Event.php index 2061d53ed8..a3605e4df5 100644 --- a/src/Appwrite/Event/Validator/Event.php +++ b/src/Appwrite/Event/Validator/Event.php @@ -34,7 +34,7 @@ class Event extends Validator public function isValid($value): bool { $events = Config::getParam('events', []); - $parts = \explode('.', $value); + $parts = \explode('.', $value ?? ''); $count = \count($parts); if ($count < 2 || $count > 7) {