Support » Plugins and Hacks » bad index error log

bad index error log

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


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author kpgraham


    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.


    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.

    Plugin Author kpgraham



    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.



Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘bad index error log’ is closed to new replies.