*

2006 / January 26th/ PHP 5.1.1 + Markdown and WordPress = Kaboom!

So, I log onto my site tonight after noticing it was down for about five minutes to find my entire site has exploded with all sorts of errors resembling this:

Warning: preg_replace_callback() [function.preg-replace-callback]: Unknown modifier ‘|’ in
/path/to/wordress/wp-content/plugins/markdown.php on line 827

Total kablooy. I love my markdown, but apparently the newest PHP update has changed how preg_replace_callback function works.

So if you’re in the same boat I was, just go ahead and download the newest markdown syntax and order shall be restored.

Oh, by the way, check out markdown extra. Looks very cool, and I plan on experimenting with it when my site isn’t in shambles.

A word from the sponsors. Advertise with Warpspire

3 Comments

comments feed

  1. Gravatar
    Avinash

    January 29th | #

    Yeah, I got hit too; thankfully it was just on a development account. My main host hasn’t switched over to the new PHP yet.

    Though, I’ve always been a Textile boy.

  2. Gravatar
    Matthew Pennell

    January 29th | #

    Your feed seems to be a bit screwy as well - I just hit your Feedburner page and got an error message (500) from them.

  3. Gravatar
    Kyle

    January 29th | #

    Matthew> I know it had to go through a few ups and downs (as this also affected my RSS) where it replaced all entried with the error, then replaced them with the real entries a few hours later.

    Seems to be working for me now… maybe it was just a glitch in feedburner?

Make a Comment

don’t be afraid, it’s just text

Comments are parsed with Markdown. Basic HTML is also allowed.