Thx! @abhay-raj Works fine.
Additional Information:
The entry was not made manually and the error occurred directly after a plugin update.
I found the reason, in Settings: “Frequency of Online User Checks” there was a “word” (and not a number) in the field. Maybe you could implement a failsafe. Because this generates a fatal error if someone types or pastes in a word by accident and saves the settings after that.
Maybe something like this:
// Failsafe
if (!is_numeric($reset_time)) {
$reset_time = 120;
}
In line 69 of “class-wp-statistics-user-online.php”
-
This reply was modified 2 years, 2 months ago by stml123.
-
This reply was modified 2 years, 2 months ago by stml123.