Warning errors with php 8.1
-
I’ve just updated php to 8.1 and the following warnings appear en the admin area.
Deprecated: Return type of ActionScheduler_DateTime::setTimezone($timezone) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/email-subscribers/lite/includes/libraries/action-scheduler/classes/ActionScheduler_DateTime.php on line 60 Deprecated: Return type of ActionScheduler_DateTime::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/email-subscribers/lite/includes/libraries/action-scheduler/classes/ActionScheduler_DateTime.php on line 48 Deprecated: Return type of ActionScheduler_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wp-content/plugins/email-subscribers/lite/includes/libraries/action-scheduler/classes/ActionScheduler_DateTime.php on line 27 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/wp-includes/functions.php on line 7053 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/wp-includes/functions.php on line 2165 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/wp-includes/functions.php on line 7053 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/wp-includes/functions.php on line 2165 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/wp-includes/functions.php on line 7053 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/wp-includes/functions.php on line 2165 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/wp-includes/functions.php on line 7053 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/wp-includes/functions.php on line 2165 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/email-subscribers/lite/includes/libraries/action-scheduler/classes/ActionScheduler_DateTime.php:0) in /var/www/html/wp-admin/includes/misc.php on line 1431 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/email-subscribers/lite/includes/libraries/action-scheduler/classes/ActionScheduler_DateTime.php:0) in /var/www/html/wp-includes/functions.php on line 6896 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/email-subscribers/lite/includes/libraries/action-scheduler/classes/ActionScheduler_DateTime.php:0) in /var/www/html/wp-admin/admin-header.php on line 9
I’m running wordpress on docker with the following image:
wordpress:6.2.0-php8.1-apache
and MySQL mysql:8.0.32
I’m using the plugin to get new subscribers but I’m not sending emails trough it, so I’m not getting actual errors but I think it will be helpful to let you know.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Warning errors with php 8.1’ is closed to new replies.