WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Limit Login Attempts] PHP Error

[Resolved] [Plugin: Limit Login Attempts] PHP Error

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author johanee

    @johanee

    If there have been any lockouts the log is show on the bottom of the plugin settings page.

    I assume you get that error with version 1.4.1 of the plugin (as that is the only way the line number makes sense).

    Do you use PHP 5?

    That code is about adding an IP to the lockout log.

    Do you get the error reliably? If so it should happen any time a new IP/attempted user combo is to be logged.

    Does the log work for you? I assume from your first question that it might not.

    I think I know what might be the problem. Would you be able to check a modified version of the plugin? If so, please mail me at <johan.eenfeldt@kostdoktorn.se>.

    Plugin Author johanee

    @johanee

    Ok, I’m pretty sure that the problem is that your log option variable have somehow become damaged, which isn’t handled gracefully by the plugin.

    I’m going through the plugin to better handle this kind of errors, and will release an update once it’s gotten some testing.

    ( If you feel comfortable making direct database changes, and have SQL access to the site, you can test it by running: DELETE FROM wp_options WHERE option_name = 'limit_login_logged'; )

    Hi johanee 🙂

    I deleted the option and saved them again at the backend, now it looks fine.
    I blocked myself and got an email – very good.
    The log is available too!

    Thanks for the quick answer & help!

    Plugin Author johanee

    @johanee

    Good.

    I’ll make sure we handle these kind of situations better in next version.

    Thanks for testing!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: Limit Login Attempts] PHP Error’ is closed to new replies.