WordPress.org

Forums

WP Redirects
[resolved] Issue (5 posts)

  1. McCarthy-Wood
    Member
    Posted 1 year ago #

    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/

  2. inbama
    Member
    Posted 1 year ago #

    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.

  3. inbama
    Member
    Posted 1 year ago #

    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.

  4. inbama
    Member
    Posted 1 year ago #

    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

  5. Raam Dev
    Member
    Plugin Author

    Posted 6 months ago #

    @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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Redirects
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.