Warnings after activating php 8.1
-
Hi
When I activate PHP 8.1 (and maybe this is the case with other versions as well) and I use
define( 'WP_DEBUG', true );
in wp-config.php, I get these messages in the Admin area when I only activate your plugin:
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home2/roott/public_html/mysitte.com/wp-includes/functions.php on line 7127 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home2/roott/public_html/mysitte.com/wp-includes/functions.php on line 2182 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home2/roott/public_html/mysitte.com/wp-includes/functions.php on line 7127 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home2/roott/public_html/mysitte.com/wp-includes/functions.php on line 2182 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home2/roott/public_html/mysitte.com/wp-includes/functions.php on line 7127 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home2/roott/public_html/mysitte.com/wp-includes/functions.php on line 2182 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home2/roott/public_html/mysitte.com/wp-includes/functions.php on line 7127 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home2/roott/public_html/mysitte.com/wp-includes/functions.php on line 2182 Warning: Cannot modify header information - headers already sent by (output started at /home2/roott/public_html/mysitte.com/wp-includes/functions.php:7127) in /home2/roott/public_html/mysitte.com/wp-includes/pluggable.php on line 1435 Warning: Cannot modify header information - headers already sent by (output started at /home2/roott/public_html/mysitte.com/wp-includes/functions.php:7127) in /home2/roott/public_html/mysitte.com/wp-includes/pluggable.php on line 1438 Warning: Cannot modify header information - headers already sent by (output started at /home2/roott/public_html/mysitte.com/wp-includes/functions.php:7127) in /home2/roott/public_html/mysitte.com/wp-admin/includes/misc.php on line 1431 Warning: Cannot modify header information - headers already sent by (output started at /home2/roott/public_html/mysitte.com/wp-includes/functions.php:7127) in /home2/roott/public_html/mysitte.com/wp-includes/functions.php on line 6935 Warning: Cannot modify header information - headers already sent by (output started at /home2/roott/public_html/mysitte.com/wp-includes/functions.php:7127) in /home2/roott/public_html/mysitte.com/wp-admin/admin-header.php on line 9
When other plugins are activated (and yours are not) or when no plugins are activated, I don’t get those messages.
Would it be possible to do something about this?
Thank you
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Warnings after activating php 8.1’ is closed to new replies.