Title: Errors with formatting.php
Last modified: August 18, 2016

---

# Errors with formatting.php

 *  [cam1980](https://wordpress.org/support/users/cam1980/)
 * (@cam1980)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/errors-with-formattingphp/)
 * I am getting the following errors at the beginning of each blog entry after my
   upgrade.
    `Warning: preg_replace() [function.preg-replace]: Compilation failed:
   nothing to repeat at offset 0 in /home/sinfullo/public_html/wp-includes/formatting.
   php on line 648 Warning: preg_replace() [function.preg-replace]: Delimiter must
   not be alphanumeric or backslash in /home/sinfullo/public_html/wp-includes/formatting.
   php on line 648 Warning: preg_replace() [function.preg-replace]: Delimiter must
   not be alphanumeric or backslash in /home/sinfullo/public_html/wp-includes/formatting.
   php on line 648 Warning: preg_replace() [function.preg-replace]: No ending delimiter':'
   found in /home/sinfullo/public_html/wp-includes/formatting.php on line 648 Warning:
   preg_replace() [function.preg-replace]: No ending delimiter ':' found in /home/
   sinfullo/public_html/wp-includes/formatting.php on line 648 Warning: preg_replace()[
   function.preg-replace]: No ending delimiter ':' found in /home/sinfullo/public_html/
   wp-includes/formatting.php on line 648 Warning: preg_replace() [function.preg-
   replace]: No ending delimiter ':' found in /home/sinfullo/public_html/wp-includes/
   formatting.php on line 648 Warning: preg_replace() [function.preg-replace]: No
   ending delimiter ':' found in /home/sinfullo/public_html/wp-includes/formatting.
   php on line 648 Warning: preg_replace() [function.preg-replace]: No ending delimiter':'
   found in /home/sinfullo/public_html/wp-includes/formatting.php on line 648 Warning:
   preg_replace() [function.preg-replace]: No ending delimiter ':' found in /home/
   sinfullo/public_html/wp-includes/formatting.php on line 648 Warning: preg_replace()[
   function.preg-replace]: No ending delimiter ':' found in /home/sinfullo/public_html/
   wp-includes/formatting.php on line 648 Warning: preg_replace() [function.preg-
   replace]: No ending delimiter ';' found in /home/sinfullo/public_html/wp-includes/
   formatting.php on line 648 Warning: preg_replace() [function.preg-replace]: Delimiter
   must not be alphanumeric or backslash in /home/sinfullo/public_html/wp-includes/
   formatting.php on line 648 Warning: preg_replace() [function.preg-replace]: Delimiter
   must not be alphanumeric or backslash in /home/sinfullo/public_html/wp-includes/
   formatting.php on line 648 Warning: preg_replace() [function.preg-replace]: No
   ending delimiter ':' found in /home/sinfullo/public_html/wp-includes/formatting.
   php on line 648 Warning: preg_replace() [function.preg-replace]: No ending delimiter':'
   found in /home/sinfullo/public_html/wp-includes/formatting.php on line 648 Warning:
   preg_replace() [function.preg-replace]: No ending delimiter ':' found in /home/
   sinfullo/public_html/wp-includes/formatting.php on line 648 Warning: preg_replace()[
   function.preg-replace]: No ending delimiter ':' found in /home/sinfullo/public_html/
   wp-includes/formatting.php on line 648 Warning: preg_replace() [function.preg-
   replace]: No ending delimiter ':' found in /home/sinfullo/public_html/wp-includes/
   formatting.php on line 648 Warning: preg_replace() [function.preg-replace]: No
   ending delimiter ':' found in /home/sinfullo/public_html/wp-includes/formatting.
   php on line 648 Warning: preg_replace() [function.preg-replace]: No ending delimiter':'
   found in /home/sinfullo/public_html/wp-includes/formatting.php on line 648 Warning:
   preg_replace() [function.preg-replace]: No ending delimiter ':' found in /home/
   sinfullo/public_html/wp-includes/formatting.php on line 648 Warning: preg_replace()[
   function.preg-replace]: No ending delimiter ';' found in /home/sinfullo/public_html/
   wp-includes/formatting.php on line 648 Warning: preg_replace() [function.preg-
   replace]: Compilation failed: nothing to repeat at offset 0 in /home/sinfullo/
   public_html/wp-includes/formatting.php on line 648
 * Can anyone tell me how I should fix this? Thank You!

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

 *  [pinay007](https://wordpress.org/support/users/pinay007/)
 * (@pinay007)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/errors-with-formattingphp/#post-508565)
 * Do you have the More Smilies plugin installed by any chance? Deactivate that.
   The “convert emoticons” option with it is not compatible with the newest version
   of WP.
 * I just figured it out myself. I dunno if it’s going to work for you though.
 *  [bubazoo](https://wordpress.org/support/users/bubazoo/)
 * (@bubazoo)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/errors-with-formattingphp/#post-508758)
 * Upgrading to more-smilies 2.1 (latest version) fixes this problem in the posts
 * however, this error still exists in my AJAX Shoutbox from
    [http://pierre.sudarovich.free.fr/](http://pierre.sudarovich.free.fr/)
 *  [grusofsky](https://wordpress.org/support/users/grusofsky/)
 * (@grusofsky)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/errors-with-formattingphp/#post-508893)
 * I’m using WP-Grins on my site with WordPress 2.1.2 and have NO problems whatsoever
   with the two…however a blog that I maintain is a problem. If I “convert emoticons”
   the error comes up, but if I turn it off the smilies don’t work. I have “convert
   emoticons” on my site with AJAX Shoutbox and works perfectly…why do you think
   it works on one, and not the other?
 *  [marmelade](https://wordpress.org/support/users/marmelade/)
 * (@marmelade)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/errors-with-formattingphp/#post-508896)
 * I’m using WP Grins too, but after the upgrade my smileys won’t show up and I 
   get the error that you also get, although it’s in line 647. What’s wrong?
 *  [Les Bessant](https://wordpress.org/support/users/lesbessant/)
 * (@lesbessant)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/errors-with-formattingphp/#post-508897)
 * Do you have the latest version of WP-Grins?
 * [http://alexking.org/blog/2007/03/18/wp-grins-14](http://alexking.org/blog/2007/03/18/wp-grins-14)
 *  [marmelade](https://wordpress.org/support/users/marmelade/)
 * (@marmelade)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/errors-with-formattingphp/#post-508898)
 * Yes, but I installed it after the upgrade, but that shouldn’t be a problem.. 
   I deactivated and reactivated the plugin afterwards..
 *  [marmelade](https://wordpress.org/support/users/marmelade/)
 * (@marmelade)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/errors-with-formattingphp/#post-508899)
 * Another thing is that the smileys doesn’t show up on the pages, but shows up 
   in the text where they aren’t supposed to like, I have one called “:star:” and
   when I write “start” I get “(star)t”. Ehm, a star icon and the letter t, although
   it shouldn’t show up cause I haven’t written the colons.
 *  [marmelade](https://wordpress.org/support/users/marmelade/)
 * (@marmelade)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/errors-with-formattingphp/#post-508900)
 * Okay, I searched around and found out that if I replaced the line with
 * $wp_smiliessearch[]
 * and replaced it with
 * $wp_smiliessearch[] = ‘/(\s|^|[^<])?’.preg_quote($smiley, ‘/’).'(\b|\s|$)/’;
 * in vars.php and it all worked out fine =)
 *  [jofrenchie](https://wordpress.org/support/users/jofrenchie/)
 * (@jofrenchie)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/errors-with-formattingphp/#post-508958)
 * pinay007, I don’t know who you are but thank you so so much. I’ve been pulling
   out my hair fixing pages that didn’t need fixing and would never have thought
   of that plugin being the cause of all the mess. Thanks again!
    ~*Jofrenchie*~

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

The topic ‘Errors with formatting.php’ is closed to new replies.

## Tags

 * [formatting](https://wordpress.org/support/topic-tag/formatting/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 9 replies
 * 7 participants
 * Last reply from: [jofrenchie](https://wordpress.org/support/users/jofrenchie/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/errors-with-formattingphp/#post-508958)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
