• Resolved windorz

    (@windorz)


    Version 4.2.0 requires PHP 7.2 or higher.

    But in PHP7.4 this plugin causes fatal error:

    Fatal error: Uncaught Error: Call to undefined function str_contains() in /wp-content/mu-plugins/plf-filter.php:1094

    str_contains was introduced in PHP8.

    • This topic was modified 2 days, 8 hours ago by windorz.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author enomoto celtislab

    (@enomoto-celtislab)

    If str_contains does not exist, str_contains defined in wp-includes/compat.php line.493 will be used, so I think there will be no error, but an error may occur if you are using WP5.8 or earlier.

    In any case, I think it is better to keep PHP and WP relatively new, even if not the latest version, so in the next update, I plan to change the minimum version of WP to 6.0 or higher.

    Thread Starter windorz

    (@windorz)

    My site is running on WP5.8

    Any Thanks for your answer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.