Issue #3266409 by jsidigital: Deprecated function: substr_count(): Passing null to parameter #1 ($haystack) of type string is deprecated