WordPress.org

Ready to get started?Download WordPress

Forums

Quick Page/Post Redirect Plugin
[resolved] Serious error in quick pagepost redirect plugin (8 posts)

  1. hamergil
    Member
    Posted 3 years ago #

    Hello
    I have been using this plug in and suddenly
    having a new error:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/nodepos1/public_html/wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php on line 41

    please help!

  2. prophecy2040
    Member
    Plugin Author

    Posted 3 years ago #

    This is due to the version of PHP you have installed. The new version of the plugin is only compatible with PHP 5+.

    It is strongly suggested that you upgrade the PHP (or have your host do it if you have no way to do it from your hosting panel), as WordPress 3.2 will not support anything less than PHP 5.2.4 (as of this point in testing, as least).

    If you need to use the older version of the plugin which supports PHP4, you can download it here:

    http://downloads.wordpress.org/plugin/quick-pagepost-redirect-plugin.3.2.3.zip

    Regards - Don

  3. hamergil
    Member
    Posted 3 years ago #

    Hi Don
    Thanks for your reply
    I was basically thinking the same..
    I will give it a try

    Thanks alot

  4. bkernan
    Member
    Posted 3 years ago #

    I just changed my site to PHP 5.2.14, and still have this error. Any suggestions?

  5. prophecy2040
    Member
    Plugin Author

    Posted 3 years ago #

    Did you install the latest version of the plugin?
    If so and you still have a problem, try deleting the plugin and re-installing it (you will not lose any redirects).

    Let me know if you still have problems.
    - Don

  6. bkernan
    Member
    Posted 3 years ago #

    Hey Thanks a lot for your quick reply!

    I remaned the old plugin dir and just downloaded and uploaded the new one.

    Still no luck.

    I feel like I'm doing something wrong though, so I'm going to verify the PHP version with php_info() and look around some more. Maybe I'll revert back to the PHP4 version I see above.

  7. bkernan
    Member
    Posted 3 years ago #

    Hello again,

    I had two AddHandlers in my htaccess, and missed the last one that was still set to PHP 4.

    That was my problem, thanks for your help!

  8. CustomWeb
    Member
    Posted 2 years ago #

    I am also having the same error. It happened when I got to about 20 redirects. In looking at the error, it's looks like it has to do something with the count function. Don't know if that helps.

    My links are still redirecting fine - just have the error showing.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic