• I’m getting the following error on my posts in a self-hosted P2:

    Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 7 in /home/customer/www/spatter.blog/public_html/wp-content/themes/p2/inc/mentions.php on line 77

    I see there’s a post about this from three years ago! Any fix in sight?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there!

    Thanks for reaching out.

    Out of curiosity, which version of PHP is running on the site?

    Thread Starter danmeek

    (@danmeek)

    Thanks for the speedy response! It’s running 7.4.33.

    Ok, thanks. The post you mentioned suggested reverting to PHP 7.2 though that’s obviously not something we’d suggest at this time. It could be worth testing on a higher version of PHP since 7.4 is fast approaching End of Life:
    https://www.php.net/supported-versions

    As it is, the P2 theme isn’t being actively maintained; it’s been superceded by this hosted version on WordPress.com:
    https://wordpress.com/p2/

    It might be worth trying P2 Breathe theme (downloadable from Github) along with the O2 plugin (also available from Github) as that is the “2.0” version of P2, but the same applies there – it’s also not in active development having been superceded by the hosted version above.

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