PHP 8.1 deprecated strpos
-
After upgrading to PHP 8.1, WordPress 6.3.1, and plugin version 3.4, then opening the WordPress dashboard, I see “Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated” repeated over and over at the top. If I disable the Watu Quiz plugin, these go away. We have WP_DEBUG enabled in our testing site.
Full error message:
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /app/web/wp-includes/functions.php on line 7127 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /app/web/wp-includes/functions.php on line 2182 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /app/web/wp-includes/functions.php on line 7127 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /app/web/wp-includes/functions.php on line 2182 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /app/web/wp-includes/functions.php on line 7127 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /app/web/wp-includes/functions.php on line 2182 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /app/web/wp-includes/functions.php on line 7127 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /app/web/wp-includes/functions.php on line 2182 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /app/web/wp-includes/functions.php on line 7127 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /app/web/wp-includes/functions.php on line 2182 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /app/web/wp-includes/functions.php on line 7127 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /app/web/wp-includes/functions.php on line 2182
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘PHP 8.1 deprecated strpos’ is closed to new replies.