• 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: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /var/www/omahachapterone/wp-content/plugins/menu-icons/vendor/codeinwp/themeisle-sdk/load.php on line 31
    Deprecated: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /var/www/omahachapterone/wp-content/plugins/menu-icons/vendor/codeinwp/themeisle-sdk/load.php on line 36

Viewing 3 replies - 1 through 3 (of 3 total)
  • AC

    (@purplecodes)

    Themeisle Support

    Hi @enderandrew,

    Thank you for reaching out.

    I tested the Menu Icons plugin on PHP 8.1 but can’t see anything on the log that similar to the one that you shared. Did you get the log as soon as you activated the plugin? What is the version of WordPress are you using when you did the test?

    Thread Starter enderandrew

    (@enderandrew)

    WP nightly and it was on the front page of my site with WP_DEBUG on after first activating PHP 8.1.

    luciamarinescu

    (@luciamarinescu)

    Hi @enderandrew!

    Thanks for the clarifications and for pointing this out! We were able to find the warnings and I’ll report them to our developers.

    Have a nice day!

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