WordPress.org

Ready to get started?Download WordPress

Forums

NoSpamNX
[resolved] 4.0.0 and 4.0.1 did not work with WordPress 2.8.6. (9 posts)

  1. mh79
    Member
    Posted 3 years ago #

    4.0.0 and 4.0.1 did not work with WordPress 2.8.6.

    Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/44/d142967558/htdocs/klf/home/wp-content/plugins/nospamnx/nospamnx.php

    http://wordpress.org/extend/plugins/nospamnx/

  2. kubi23
    Member
    Plugin Author

    Posted 3 years ago #

    @mh79
    Which PHP Version do you use?

  3. mh79
    Member
    Posted 3 years ago #

    still the same in 4.0.2

    Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/44/d142967558/htdocs/klf/home/wp-content/plugins/nospamnx/nospamnx.php on line 454

    the PHP Version is 4.4.9

  4. kubi23
    Member
    Plugin Author

    Posted 3 years ago #

    Since Version 4.0 NoSpamNX will not work with PHP4 anymore. The uninstall_hook() requires a static function which PHP4 does not support.

  5. mh79
    Member
    Posted 3 years ago #

    OK, but this means that NoSpamNX 4.0 does not passed the requirements of WordPress 3.1

    WordPress server requirements for Version 2.9, 3.0, 3.1:
    * PHP version 4.3 or greater

    http://codex.wordpress.org/Hosting_WordPress

  6. kubi23
    Member
    Plugin Author

    Posted 3 years ago #

    Ok, didnt know that ;-)

    That's kind of strange because WordPress says that the uninstall_hook should be a static function since 2.7, but static functions are no support by PHP4.

    Anyway, i removed the static function, so in 4.0.3 it should work again.

  7. Cartman
    Member
    Posted 3 years ago #

    Any chance that 4.0.3 will make the referrer check an option once again? It's flagging 100% of my replies on one of my sites right now, so I had to disable the plugin.

  8. kubi23
    Member
    Plugin Author

    Posted 3 years ago #

    @Cartman
    Yes! Due to conitues Errors, the Referer-Check has been removed completly.

  9. mh79
    Member
    Posted 3 years ago #

    NoSpamNX 4.0.3 works with PHP 4.4.9, thank you very much. :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags