Home>Support>Error message above “SiteOrigin CSS” plugin page

Error message above “SiteOrigin CSS” plugin page

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Warning: preg_replace(): Compilation failed: escape sequence is invalid in character class at offset 4 in /home/charcocc/domains/charcoal.in.th/public_html/wp-content/plugins/so-css/so-css.php on line 686

This is line 686
$css = preg_replace( array_keys( $regex ), $regex, $css );

1.I don’t know why it happen I didn’t do anything with plugin files.
2.I try delete all css code, remove and re-install plugin already but error message still show.
3.My css design in frontend still working properly, Even though it show error message in backend.

Please help what should I do, am I do something wrong?

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, 5 months ago Andrew Misplon
    Hi, I Work Here

    Hi Nattakorn

    Thanks for posting your question.

    We have logged the issue on GitHub https://github.com/siteorigin/so-css/issues/97 and will attend as soon as we’re able to.

    To remove the warning, you could perhaps check that WP_DEBUG is set to false. In this post https://www.wpbeginner.com/wp-tutorials/how-to-set-up-wordpress-error-logs-in-wp-config/ locate the section where WP_DEBUG is set to true. Ideally, you want WP_DEBUG set to false so that warnings and errors don’t print on your site. It’s a bit of a technical task though.

    Sorry, we don’t have more to offer at the moment.

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