WordPress.org

Forums

Errors with formatting.php (10 posts)

  1. cam1980
    Member
    Posted 8 years ago #

    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!

  2. pinay007
    Member
    Posted 8 years ago #

    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.

  3. bubazoo
    Member
    Posted 8 years ago #

    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/

  4. grusofsky
    Member
    Posted 8 years ago #

    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?

  5. marmelade
    Member
    Posted 8 years ago #

    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?

  6. Do you have the latest version of WP-Grins?

    http://alexking.org/blog/2007/03/18/wp-grins-14

  7. marmelade
    Member
    Posted 8 years ago #

    Yes, but I installed it after the upgrade, but that shouldn't be a problem.. I deactivated and reactivated the plugin afterwards..

  8. marmelade
    Member
    Posted 8 years ago #

    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.

  9. marmelade
    Member
    Posted 8 years ago #

    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 =)

  10. Jofrenchie
    Member
    Posted 7 years ago #

    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*~

Topic Closed

This topic has been closed to new replies.

About this Topic