Support » Plugin: Simple 301 Redirects » [Plugin: Simple 301 Redirects] Fatal error: Call to undefined function: str_ireplace()

  • Fatal error: Call to undefined function: str_ireplace() in /public_html/wp-content/plugins/simple-301-redirects/wp-simple-301-redirects.php on line 119

Viewing 5 replies - 1 through 5 (of 5 total)
  • make sure you are running PHP 5. str_ireplace() only supports that version of PHP.

    You nailed it, that does look to be the issue.. old school clients, w/ old school servers! Anyway, I just ran the 301 through the htaccess manually. Thanks for the effort none-the-less.

    Plugin Author Scott Nelle

    (@scottnelle)

    Hey guys. Thanks for pointing this out. With an error code no less–very helpful. 🙂

    Because PHP 4 was officially declared unsupported over 2 years ago, I didn’t even think to check the compatibility of the str_ireplace function. Turns out it’s only available in PHP 5+. I know a lot of people are stuck on older servers against their will, so I’ll release another update tonight to fix the issue. Sorry about that.

    Scott

    Plugin Author Scott Nelle

    (@scottnelle)

    …and the new version is available with PHP4 support. Sorry for the oversight and for the double update.

    Scott

    @scott, 2 months late, but thanks for the quick update. Appreciate the simplicity of the plugin!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Simple 301 Redirects] Fatal error: Call to undefined function: str_ireplace()’ is closed to new replies.