Support » Fixing WordPress » Warning: preg_match() [function.preg-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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    What version of PHP are you using?

    Did you try a totally fresh download of WordPress?

    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)

    (@ipstenu)

    Lead Plugin Wrangler

    Delete WP-includes and WP-admin and copy them back up from a fresh download. You won’t lose any data 🙂

    My hosting server is getting this too. It was just upgraded to PHP 5.3.4 last night.

    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

    Looks like my errors are due to plugins:

    Contact Form 7
    Display Last Post(s)

    Maybe others.

    Also the errors on the admin page are their even with all plugins disabled!

    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.

    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?

    Worked for me, thank you so much!

    Best
    Deborah

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Can you try 5.3.5? There’s a bugfix to the .4 version…

    Moderator Andrew Nacin

    (@nacin)

    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. 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.

    Moderator Andrew Nacin

    (@nacin)

    Which version of PCRE are you using? Is this the unbundled version? See what phpinfo() says about it.

    vbengeult

    (@vbengeult)

    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.