• Resolved coolabanana

    (@coolabanana)


    When i upgrade from php 7.2 to 7.4 all Texts aren’t visible anymore. As soon i get back to 7.2 everything works fine

    Installed Version 2.4.1 with WordPress 5.8.1

    Kind regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter coolabanana

    (@coolabanana)

    Additional Information:
    PHP Warning:  preg_replace(): Compilation failed: invalid range in character class at offset 7 in /public_html/wp-content/plugins/onepager-advanced-blocks-pack-master/blocks/text/view.php on line 22
    Thread Starter coolabanana

    (@coolabanana)

    Found solution:
    you have to escape the minus sign in line 22:
    $text = preg_replace(“/(\+?[\d-\(\)\s]{12,}\d)/”, ‘\\1‘, $text);
    to
    $text = preg_replace(“/(\+?[\d\-\(\)\s]{12,}\d)/”, ‘\\1‘, $text);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php 7.4’ is closed to new replies.