Issue #3320323 by DieterHolvoet: TypeError: strpos(): Argument #1 ($haystack) must be of type string, null given in strpos()