Fix issue #3358495: Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated