Home>Support>Solved: preg_replace_callback(): compilation failed

Solved: preg_replace_callback(): compilation failed

I ran into the same issue as this one: https://siteorigin.com/thread/warning-preg_replace_callback-compilation-failed, but mine was on a development localhost.

I’m no hard-core developer, so I did some searching and found out (on Stack Overflow) that changing [w-.] to [-w.] solved the issue. It did on my localhost.

I haven’t run into any further issues (yet). I thought you might like to know :)

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 5 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Hi Harold

    Sorry for the hassle and thanks for the update. We’ll have this resolved in the next version update of Page Builder and the Widgets Bundle. In the meantime, rolling back to PHP 7.2.x should resolve the hassle. If any follow-up questions arise, please let us know.

    https://github.com/siteorigin/so-widgets-bundle/issues/791

  2. 5 years, 9 months ago Harold Kip

    Excellent. Thanks for the update :)

  3. 5 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    For sure :) Thanks for your understanding. All the best.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More