This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Error message above “SiteOrigin CSS” plugin page

6 years ago · Last reply by Andrew Misplon 6 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 6 years, 1 month ago

    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.

Have a different question or issue?

Start New Thread