• 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 theme 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 HFG\Core\Settings\Defaults::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/omahachapterone/wp-content/themes/neve/header-footer-grid/Core/Settings/Defaults.php on line 41

Viewing 1 replies (of 1 total)
  • Mat

    (@mateithemeisle)

    Hello @enderandrew,

    Thank you for using Neve and for reaching out!

    Neve supports and has been tested thoroughly with PHP 8.0 thus no warnings shall appear there, however, 8.1 is a different story as it hasn’t been officially released yet.

    Thank you for sharing the warnings received and be sure that we’ll update the theme to perfectly support future versions of PHP!

    In the meantime, since it is just a warning you can ignore it as it will not affect the proper functioning of the theme.

    Thank you again for reaching out and stay tuned for future theme updates!

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