Hi @chrix22,
Thank you for using When Last Login. I’m really sorry about this issue.
I have added it to our development schedule to attend to.
Here is a link to the Github issue – https://github.com/andrewlimaza/when-last-login/issues/33
Please feel free to add comments to the Github issue.
This problem hasn’t been fixed. Same notice is written:
<b>Notice</b>: Undefined index: show_all_login_records in <b>/..page to /public_html/wp-content/plugins/when-last-login/when-last-login.php</b> on line 257
It doesn’t stop the site working, but causes a huge succession of error messages to be logged and written when working in the dashboard.
The line causing the error is this:
$show = $settings['show_all_login_records'];
Looks like a setting variable hasn’t been given a default value, but I’ve switched on “Enable All Login Records” and then switched it off again. The error is no longer showing. Should be a very simple fix – come on “When-last-login” team – get it fixed. I’ve wasted a couple of hours on this.
I’m sorry for the inconvenience caused by this. I was unable to recreate this issue but I am merging code in that should help resolve this issue for some cases.
What PHP version are you running on your site, I would like to try and recreate this on my end?
Good question – I should have said! We upgraded recently to PHP 7.2 and that’s when the notice started being issued. We were previously on PHP 5.6 (from memory).