PHP 8.1 Compatability
-
I’m still on PHP 7.4 because I heard many WordPress plugins and themes don’t support PHP 8, though I also hear that PHP 8 is both more secure and performs better.
I was going to test out PHP 8 on my site and I see there are RC builds for 8.1 which is supposed to come out this month and went ahead and tested that. Strictly speaking, it appears this plugin works with PHP 8.1, however if you look at the logs, there are warnings about using deprecated features.
I thought I’d just pass them along.
Deprecated: Return type of WPForms\Logger\Records::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/omahachapterone/wp-content/plugins/wpforms-lite/src/Logger/Records.php on line 96 Deprecated: Return type of WPForms\Logger\Records::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/omahachapterone/wp-content/plugins/wpforms-lite/src/Logger/Records.php on line 40 Deprecated: Return type of WPForms\Logger\Records::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/omahachapterone/wp-content/plugins/wpforms-lite/src/Logger/Records.php on line 62 Deprecated: Return type of WPForms\Logger\Records::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/omahachapterone/wp-content/plugins/wpforms-lite/src/Logger/Records.php on line 50 Deprecated: Return type of WPForms\Logger\Records::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/omahachapterone/wp-content/plugins/wpforms-lite/src/Logger/Records.php on line 84 Deprecated: Return type of WPForms\Logger\Records::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/omahachapterone/wp-content/plugins/wpforms-lite/src/Logger/Records.php on line 74
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP 8.1 Compatability’ is closed to new replies.