• Resolved enderandrew

    (@enderandrew)


    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)
  • Hi @enderandrew,

    Thanks for taking the time to reach out to us and providing these details!

    You’re correct that many WordPress plugins and themes do not support PHP 8 as of yet. Our plugin’s latest versions can be used with PHP 8.x, but we would still consider usage with PHP 7.x to be the most stable, as other code on the site can also effect the code of our plugin.

    We also have a 6 week release cycle, where we are constantly applying updates (for bug fixes and improving compatibility) and releasing new features.

    I hope that helps to clarify ??

    Kindly,

Viewing 1 replies (of 1 total)
  • The topic ‘PHP 8.1 Compatability’ is closed to new replies.