Deprecated warnings in PHP 8.1
-
Hello,
I have updated my site to PHP 8.1 and get the bellow warnings that should be fixed because it generates a ton of logs.
Many thanks!Deprecated: Return type of IPTools\Range::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/web/app/plugins/wp-statistics/includes/vendor/s1lentium/iptools/src/Range.php on line 189
Deprecated: Return type of IPTools\Range::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/web/app/plugins/wp-statistics/includes/vendor/s1lentium/iptools/src/Range.php on line 202
Deprecated: Return type of IPTools\Range::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/web/app/plugins/wp-statistics/includes/vendor/s1lentium/iptools/src/Range.php on line 197
Deprecated: Return type of IPTools\Range::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/web/app/plugins/wp-statistics/includes/vendor/s1lentium/iptools/src/Range.php on line 215
Deprecated: Return type of IPTools\Range::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/web/app/plugins/wp-statistics/includes/vendor/s1lentium/iptools/src/Range.php on line 207
Deprecated: Return type of IPTools\Range::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/web/app/plugins/wp-statistics/includes/vendor/s1lentium/iptools/src/Range.php on line 223
Deprecated: Return type of IPTools\Network::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/web/app/plugins/wp-statistics/includes/vendor/s1lentium/iptools/src/Network.php on line 326
Deprecated: Return type of IPTools\Network::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/web/app/plugins/wp-statistics/includes/vendor/s1lentium/iptools/src/Network.php on line 339
Deprecated: Return type of IPTools\Network::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/web/app/plugins/wp-statistics/includes/vendor/s1lentium/iptools/src/Network.php on line 334
Deprecated: Return type of IPTools\Network::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/web/app/plugins/wp-statistics/includes/vendor/s1lentium/iptools/src/Network.php on line 352
Deprecated: Return type of IPTools\Network::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/web/app/plugins/wp-statistics/includes/vendor/s1lentium/iptools/src/Network.php on line 344
Deprecated: Return type of IPTools\Network::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/web/app/plugins/wp-statistics/includes/vendor/s1lentium/iptools/src/Network.php on line 360
- The topic ‘Deprecated warnings in PHP 8.1’ is closed to new replies.