• Resolved detrax

    (@detrax)


    Something seems to be worth looking at (with PHP 7.3):

    preg_replace(): Compilation failed: escape sequence is invalid in character class at offset 4 in […] plugins/wp-typography/includes/wp-typography/components/class-public-interface.php on line 307′

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author pepe

    (@pputzer)

    @detrax Thank you for the bug report. Which versions of wp-Typography and PHP 7.3 are you using exactly?

    Thread Starter detrax

    (@detrax)

    They are those two:

    PHP: PHP 7.3.7
    wp-typography : Version 5.5.4

    Plugin Author pepe

    (@pputzer)

    Thank you. I’ve not been able to replicate that error on my own installation of PHP 7.3.7, but from looking at the regular expressions it seems it might have always been incorrect, but the syntax issue only pops up with PCRE2 as used by PHP 7.3. (And the exact behavior might also depend on some system library version.)

    I’ll look into it tonight.

    Thread Starter detrax

    (@detrax)

    Thanks for your quick answer. If I might be of any assistance (eg. test), let me know.

    Plugin Author pepe

    (@pputzer)

    Will be fixed in the next release.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP 7.3 “preg_replace” error’ is closed to new replies.