Title: Warning: preg_match() [function.preg-match]: Errors
Last modified: August 19, 2016

---

# Warning: preg_match() [function.preg-match]: Errors

 *  [methystic](https://wordpress.org/support/users/methystic/)
 * (@methystic)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/)
 * My Dashboard currently shows repeated errors where content should be under the
   headings:
 * Plugins
    Wordpress Development Blog Other WordPress News
 * Warning: preg_match() [function.preg-match]: Compilation failed: unknown option
   bit(s) set at offset 0 in /usr/home/kilicent/public_html/wp-includes/class-simplepie.
   php on line 11043
 * and a single error on the Contact Us page:
    Warning: preg_replace() [function.
   preg-replace]: Compilation failed: unknown option bit(s) set at offset 0 in /
   usr/home/kilicent/public_html/wp-includes/shortcodes.php on line 228
 * which disappears when the contact form from FS Contact is removed.
 * I’ve reinstalled WordPress, disabled all plugins new & old, reactivated, reverted
   the theme to no avail. I had a forwarder on the domain whilst I was messing with
   the new configurations, but have since removed this – I also put permalinks on
   default state because of other suggestions, but not really seeing how that is
   the problem.
 * I did a Web search but only found references with Chinese text – I’m unfortunately
   not a Chinese speaker.
 * Any ideas?
    Much appreciated Deborah
 * site is: [http://www.kilicentre.org](http://www.kilicentre.org)

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 4 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1868813)
 * What version of PHP are you using?
 * Did you try a totally fresh download of WordPress?
 *  Thread Starter [methystic](https://wordpress.org/support/users/methystic/)
 * (@methystic)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1868847)
 * Hey
 * Using PHP version 5.3.4. Didn’t do a totally fresh install just Automatic re-
   install via Updates. Apprehensive to do a complete fresh install if there is 
   a work around or a fixable conflict.
 * TIA
    Deborah
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 4 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1868966)
 * Delete WP-includes and WP-admin and copy them back up from a fresh download. 
   You won’t lose any data 🙂
 *  [rhyous](https://wordpress.org/support/users/rhyous/)
 * (@rhyous)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1869014)
 * My hosting server is getting this too. It was just upgraded to PHP 5.3.4 last
   night.
 *  [rhyous](https://wordpress.org/support/users/rhyous/)
 * (@rhyous)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1869015)
 * I also get these on the admin page.
 * Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unknown
   option bit(s) set at offset 0 in /usr/home/rhyous/public_html/wp-includes/compat.
   php on line 102
 * Warning: array_slice() expects parameter 1 to be array, null given in /usr/home/
   rhyous/public_html/wp-includes/compat.php on line 103
 * Warning: implode() [function.implode]: Invalid arguments passed in /usr/home/
   rhyous/public_html/wp-includes/compat.php on line 104
 *  [rhyous](https://wordpress.org/support/users/rhyous/)
 * (@rhyous)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1869017)
 * Looks like my errors are due to plugins:
 * Contact Form 7
    Display Last Post(s)
 * Maybe others.
 *  [rhyous](https://wordpress.org/support/users/rhyous/)
 * (@rhyous)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1869020)
 * Also the errors on the admin page are their even with all plugins disabled!
 *  [rhyous](https://wordpress.org/support/users/rhyous/)
 * (@rhyous)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1869022)
 * > Delete WP-includes and WP-admin and copy them back up from a fresh download.
   > You won’t lose any data 🙂
 * That did not work.
 *  [rhyous](https://wordpress.org/support/users/rhyous/)
 * (@rhyous)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1869028)
 * Reverted PHP to 5.3.3 and the errors are gone.
 * There must be a change in PHP 5.3.4 that WordPress doesn’t handle.
 * Are there bugs submitted on this already?
 *  Thread Starter [methystic](https://wordpress.org/support/users/methystic/)
 * (@methystic)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1869053)
 * Worked for me, thank you so much!
 * Best
    Deborah
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 4 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1869057)
 * Can you try 5.3.5? There’s a bugfix to the .4 version…
 *  [Andrew Nacin](https://wordpress.org/support/users/nacin/)
 * (@nacin)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1869150)
 * PHP 5.3.5 is an unrelated security fix.
 * PHP 5.3.4 included an update to the PECL library: “Upgraded bundled PCRE to version
   8.10.” [http://php.net/ChangeLog-5.php#5.3.4](http://php.net/ChangeLog-5.php#5.3.4).
   This appears to be the culprit.
 * I’d downgrade to 5.3.3 for now. I sent a note upstream to see if they know anything.
 * Cross-referencing [http://bugs.php.net/bug.php?id=53605](http://bugs.php.net/bug.php?id=53605).
 *  [Andrew Nacin](https://wordpress.org/support/users/nacin/)
 * (@nacin)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1869151)
 * Which version of PCRE are you using? Is this the unbundled version? See what 
   phpinfo() says about it.
 *  [vbengeult](https://wordpress.org/support/users/vbengeult/)
 * (@vbengeult)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1869164)
 * I’m suddenly getting these kinds of errors too. Running WP 3.1.1 — it happens
   on my local server but not on GoDaddy.
 * Using PHP 5.3.6
    PCRE version is Installed versions: 8.12(3)(11:52:32 AM 04/03/
   2011)(bzip2 cxx recursion-limit unicode zlib -static-libs)
 * There doesn’t seem to be any action on the bugs.php.net. Downgrading to PHP 5.3.3
   is not an option. Any suggestions? Thanks in advance.
 * ——————
 * My Dashboard currently shows repeated errors where content should be under the
   headings:
    Plugins Wordpress Development Blog Other WordPress News
 * Warning: preg_match() [function.preg-match]: Compilation failed: unknown option
   bit(s) set at offset 0 in …/wp-includes/class-simplepie.php on line 11043
 * and a single error on the Contact Us page:
    Warning: preg_replace() [function.
   preg-replace]: Compilation failed: unknown option bit(s) set at offset 0 in …/
   wp-includes/shortcodes.php on line 228

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Warning: preg_match() [function.preg-match]: Errors’ is closed to new
replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 5 participants
 * Last reply from: [vbengeult](https://wordpress.org/support/users/vbengeult/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/warning-preg_match-functionpreg-match-errors/#post-1869164)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
