Title: Issue
Last modified: August 21, 2016

---

# Issue

 *  Resolved [McCarthy-Wood](https://wordpress.org/support/users/mccarthy-wood/)
 * (@mccarthy-wood)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/issue-8/)
 * Hi,
 * I get the following issue when trying to activate:
 * Parse error: syntax error, unexpected T_FUNCTION in /home/mwdoit/public_html/
   mwweb.me/wp-content/plugins/wp-redirects/wp-redirects.php on line 196
 * [http://wordpress.org/plugins/wp-redirects/](http://wordpress.org/plugins/wp-redirects/)

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

 *  [inbama](https://wordpress.org/support/users/inbama/)
 * (@inbama)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/issue-8/#post-4390795)
 * While updating the plugin, I am getting the same fatal error. I tried deleting
   and reinstalling but no effect.
 * _Parse error: syntax error, unexpected T\_FUNCTION in /home1/inbama/public\_html/
   wp-content/plugins/wp-redirects/wp-redirects.php on line 196_
 * Line 196 reads:
    `? preg_replace_callback('/%%([0-9]+)%%/i', function ($m) use(
   $_is_regex_matches)`
 * BTW, I’m running a multi-site install and downloaded the plugin after reading
   Jason (at s2member) recommend it. I hope it get’s resolved soon.
 *  [inbama](https://wordpress.org/support/users/inbama/)
 * (@inbama)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/issue-8/#post-4390796)
 * Okay, got it figured out. Although my host has available the most current php,
   I had to upgrade to a more current version. It was very simple. I was using 5.2.
   I chose to upgrade to 5.4. No more error and it functions perfectly.
 *  [inbama](https://wordpress.org/support/users/inbama/)
 * (@inbama)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/issue-8/#post-4390807)
 * I thought I fixed it but when I activate the plugin, I get the same error:
    Parse
   error: syntax error, unexpected T_FUNCTION in /home1/fhf/public_html/wp-content/
   plugins/wp-redirects/wp-redirects.php on line 196
 *  Plugin Author [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/issue-8/#post-4390814)
 * [@mccarthy-wood](https://wordpress.org/support/users/mccarthy-wood/) I’m sorry
   that you didn’t get a response here! I’m the new maintainer for this plugin and
   I just released a new version. If you have any issues, please let me know.

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

The topic ‘Issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-redirects_687ab3.svg)
 * [WP Redirects](https://wordpress.org/plugins/wp-redirects/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-redirects/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-redirects/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-redirects/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-redirects/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-redirects/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/issue-8/#post-4390814)
 * Status: resolved