Issue #3268272 by sayco: TypeError: strpos(): Argument #1 ($haystack) must be of type string, int given in strpos()
mentioned in commit b77aba76
mentioned in commit 12210b1f