• Resolved Animalejourbano

    (@animalejourbano)


    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)
  • Plugin Contributor kishanranawat

    (@kishanranawat)

    Hi @animalejourbano,

    Thank you for reporting this error. We are able to replicate it on our end too with Docker image wordpress:6.2.0-php8.1-apache.

    We are working on a fix for the issue and will try to release a fix in upcoming releases. Will let you know when this goes out.

    Hope this helps you. Let us know if you have any further queries.

    Thank you.

    Thread Starter Animalejourbano

    (@animalejourbano)

    Hi @kishanranawat. I’ll be waiting for the next update.

    Thank you.

    Plugin Contributor Shubhanshu Kandani

    (@shubhanshukandani)

    Hi?@animalejourbano,

    Hope you are doing well.

    Thanks for your patience and support. Our developer team has fixed the above mention issue in the latest release. We request you to please update the plugin with the latest release.

    If still, you face any issues related to it please let us know.

    Waiting for your confirmation.

    ?Happy to support!

    Plugin Contributor Shubhanshu Kandani

    (@shubhanshukandani)

    Hello?@animalejourbano,

    We hope our previous replies were helpful in resolving your issues.

    I am closing this thread for now. Feel free to reopen it in case if you are still having issues or inquiries related to the plugin.

    Also if you have any other queries, you can open a new thread from here. We will be happy to assist you further.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning errors with php 8.1’ is closed to new replies.