• Can you tell me what happened and what should I do?

    Warning: preg_replace(): Compilation failed: character value in \x{} or \o{} is too large at offset 8 in /data/web/virtuals/89223/virtual/www/domains/chrudimka.cz/wp-content/plugins/wordfence/waf/wfWAFUserIPRange.php on line 232

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @zajiczech,

    What is your PHP and PCRE version?

    You can find this information like this:

    1. Go to Wordfence -> Tools -> Diagnostics -> Click to view your system’s configuration in a new window ( https://i.imgur.com/HeSXpCg.png )

    2. Find PCRE Library Version ( https://i.imgur.com/SsB7WMb.png )

    3. Also find your PHP version ( https://i.imgur.com/eg3CQht.png )

    Dave

    Thread Starter zajiczech

    (@zajiczech)

    I renamed the plugin, uploaded a new one via FTP and activated it and everything is OK. I hope…

    Thread Starter zajiczech

    (@zajiczech)

    PHP Version 7.1.26
    PCRE Library Version 8.38 2015-11-23

    Hi again,

    Your PCRE and PHP version look fine, but I think what might have happened is that your host disabled Unicode Support for PCRE.

    Can you email us your diagnostics so that we have more information regarding your machine?

    You can do this by going into Wordfence -> Tools -> Diagnostics -> Send Report By Email.

    Email: wftest@wordfence
    Ticket Number: zajiczech

    In the meantime, can you ask your hosting provider if they have unicode mode disabled for PCRE?

    Dave

    Thread Starter zajiczech

    (@zajiczech)

    Info from hosting provider:

    PCRE (Perl Compatible Regular Expressions) Support enabled
    PCRE Library Version 10.32 2018-09-10
    PCRE Unicode Version 11.0.0
    PCRE JIT Support enabled
    PCRE JIT Target x86 64bit (little endian + unaligned)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Compilation failed – preg_replace()’ is closed to new replies.