• 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 Smush 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: Constant FILTER_SANITIZE_STRING is deprecated in /var/www/omahachapterone/wp-content/plugins/wp-smushit/core/modules/helpers/class-parser.php on line 229

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @enderandrew !

    I hope you’re doing great today!

    Thank you for the feedback! I’ll pass the deprecation notice to our Smush team for further review and adjustments.

    I’ve been running my test sites on 8.0 for a while now and I can confirm that in general there aren’t any issues (our team also periodically performs adjustments to support newer versions of PHP and for each major version of WP).

    Fortunately, in this case the Deprecated level messages are only informative that in some time in the future an option won’t be supported anymore – this usually takes a year of so, so no need to worry that something will stop working next month. By the time the phasing out happens we’ll be done with the adjustments and updates.

    Thank you once again for sharing the message ??

    Kind regards,
    Pawel

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @enderandrew,

    I can confirm this has already been reported to our developer’s attention and it’s slated to be fixed in version 3.9.5. Since this has already been addressed, I’ll go ahead and mark this thread as resolved for now.

    Please feel free to re-open the thread for any further assistance.

    Kind Regards,
    Nithin

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