Home>Support>Warning: preg_replace_callback(): Compilation failed

Warning: preg_replace_callback(): Compilation failed

I have this error showing on the front end:

Warning: preg_replace_callback(): Compilation failed: invalid range in character class at offset 22 in /home/excell02/public_html/wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php on line 853

This is line 853:
//handle less @import statements
$less = preg_replace_callback( ‘/^@imports+”.*?/?([w-.]+)”;/m’, array( $this, ‘get_less_import_contents’ ), $less );

My web-site is https://excellench.com

Any clue?

Thanks!
Mor

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 Alex S
    Hi, I Work Here

    Hi Mor,

    That’s odd. Can you please send me an export of the page that this issue is occurring on so I can run some tests against the page? To do this please open up the linked page in the editor and click the Layout button in the Page Builder toolbar. Then click import/export and then click download. Please upload the export to a 3rd party file hosting site such as WeTransfer (no email is required).

  2. 5 years, 9 months ago morsagmon

    Hi Alex.

    This happened in 3 different pages.
    Anyway, I couldn’t let my front-end be like that, and commenting out this line (naturally) caused other issues. I had no idea if and when help will come along, so I made a decision to let go of SO all together and not use it anymore.
    This is unfortunate, as I liked it…

    Mor

  3. 5 years, 9 months ago Alex S
    Hi, I Work Here

    Hi Mor,

    I’m sorry to hear that. Unfortunately, we’re not too sure why this issue occurred. If you ever decide to try using our plugins again and this issue happens again, please let me know and we’ll take a look into this issue asap.

  4. 5 years, 9 months ago morsagmon

    Ok, thank you.

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