Details
Description
Stats cron breaks with database writing error on lib/statslib.php line 699.
The problem is in lib/statslib.php on line 704, where is missing userid column.
This totally breaks statistics calculations.
The same for monthly stats line 864