• Resolved Anonymous User 20447015

    (@anonymized-20447015)


    Follow up to this thread.

    Is it possible to allow plugin compatibility with sites that use WP6.3 and under that still use PHP7.4?

    The site will return a fatal PHP error if installed on <6.3 when using PHP7.4 as str_contains is only available in PHP8. I noticed in the previous thread there is a polyfill in compat.php but that loads after advanced-cache.php in the wp-settings.php file pre 6.3, so doesn’t kick in.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi @wpcharged –

    Could you file an issue for this on GitHub? You can do so here.

    That’s the best place to get this issue in front of our development team.

    I created an issue here. The plugin now requires WordPress 6.3 which means this problem shouldn’t happen if people are updating through the plugins page. It does mean sites running older versions of WordPress won’t receive updates to the plugin any more, until they upgrade to a more recent version of WordPress.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘str_contains etc only in PHP8’ is closed to new replies.