• Resolved Serj Komarov

    (@serjkomorov)


    Hello there!
    I have got a lot of deprecated messages from your plugin after switching to PHP 8.1. Can it be fixed in the next releases please?

    Example:
    "*3882 FastCGI sent in stderr: \"PHP message: PHP Deprecated: Return type of WPTelegram\\Core\\includes\\Options::current() should either be compatible with Iterator::current(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/site_files/wp-content/plugins/wptelegram/includes/Options.php on line 401PHP message: PHP Deprecated: Return type of WPTelegram\\Core\\includes\\Options::next() should either be compatible with Iterator::next(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/site_files/wp-content/plugins/wptelegram/includes/Options.php on line 414PHP message: PHP Deprecated: Return type of WPTelegram\\Core\\includes\\Options::key() should either be compatible with Iterator::key(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/site_files/wp-content/plugins/wptelegram/includes/Options.php on line 427PHP message: PHP Deprecated: Return type of WPTelegram\\Core\\includes\\Options::valid() should either be compatible with Iterator::valid(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/site_files/wp-content/plugins/wptelegram/includes/Options.php on line 440PHP message: PHP Deprecated: Return type of WPTelegram\\Core\\includes\\Options::rewind() should either be compatible with Iterator::rewind(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/site_files/wp-content/plugins/wptelegram/includes/Options.php on line 451PHP message: PHP Deprecated: Return type of WPTelegram\\Core\\includes\\Options::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/site_files/wp-content/plugins/wptelegram/includes/Options.php on line 347PH"

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deprecated messages on PHP 8.1’ is closed to new replies.