WordPress.org

Ready to get started?Download WordPress

Forums

Stop Spammers
bad index error log (4 posts)

  1. wpte
    Member
    Posted 1 year ago #

    I'm on the newest version of wordpress: 3.5 and the latest version of this awesome plugin: version 4.1

    I've noticed some error logging in the script and they all look like this:

    Error number: 8
    Error type: Run-time notices. Indicate that the script encountered something that could indicate an error, but could also happen in the normal course of running a script.
    Error Msg: Undefined index: administrator
    File name: wp-content/plugins/stop-spammer-registrations-plugin/includes/stop-spam-reg-checks.php
    Line Number: 46

    It doesn't happen all the time but it does log these errors now and then, up to 20 a week or something.
    Should be easy to fix I suppose, just another check before assuming things.

    http://wordpress.org/extend/plugins/stop-spammer-registrations-plugin/

  2. kpgraham
    Member
    Plugin Author

    Posted 1 year ago #

    This occurs when someone without admin rights logs in. It should not affect the operation of the plugin. I didn't have any users without admin rights on my websites, so I did not catch this. I test for it now.

    It is fixed in the 4.2 version available on the blogseye.com website as beta. The version that is there will be released as soon as I run it a little more on my websites.

    Keith

  3. djeyewater
    Member
    Posted 1 year ago #

    I'm getting the following php notice:
    Notice: Undefined variable: onclick in wp-content/plugins/stop-spammer-registrations-plugin/stop-spammer-registrations.php on line 597

    this can be fixed by adding $onclick=""; just before the if statement on line 590.

  4. kpgraham
    Member
    Plugin Author

    Posted 1 year ago #

    djeyewater,

    I have fixed it in the current beta version.

    I am afraid that I never saw the bug because I have set up the API key. Without it the error will appear.

    Thanks,

    Keith

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic