Forums

Formatting.php is broken :( (5 posts)

  1. alfajor
    Member
    Posted 2 years ago #

    Link: http://www.alfaj0r.com/library/christopher-hitchens/god-is-not-great-how-religion-poisons-everything/
    I keep getting the error "Warning: preg_replace() [function.preg-replace]: No ending delimiter ':' found in /home/.newley/alfajor/alfaj0r.com/blog/wp-includes/formatting.php on line 668"

    Here's a copy of my file: http://www.alfaj0r.com/misc/formatting.txt

    I suspect the problem came with the plugin "More Smilies", which is no longer supported. I think I had to modify some files when I installed it, but it was a long time ago, and I really didn't have any idea of what I was doing :P

    I've tried replacing the formatting.php file with another one, from the default install of WP, but the errors propagate to other files that call functions on formatting.php, so... I don't know what to do. And that's why I'm here :)

  2. whooami
    Member
    Posted 2 years ago #

    what you do is upload fresh copies of ALL the files that you changed. And then you dont change them to accommodate a f'ed up plugin.

  3. alfajor
    Member
    Posted 2 years ago #

    I figured I could do that... where can I download just the wp-includes/ folder with all the original files?

  4. alfajor
    Member
    Posted 2 years ago #

    Ok, nevermind. I found where to download (just got the whole zip from the downloads section, and used the wp-includes folder).

    It's still broken :(

  5. alfajor
    Member
    Posted 2 years ago #

    Case closed. I commented out the offending sentence, and I have yet to see any difference on my page :)

Topic Closed

This topic has been closed to new replies.

About this Topic