Plugin Contributor
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 Contributor
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';
)
Thread Starter
gregma
(@gregma)
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 Contributor
johanee
(@johanee)
Good.
I’ll make sure we handle these kind of situations better in next version.
Thanks for testing!