I get this error randomly navigating my site:
Warning: date() expects parameter 2 to be long, string given in /...SERVER'S_PATH.../www/includes/functions.php on line 840
that is something related to:
- case SERVER_SWITCH:
- $dst_sec = date('I', $gmepoch) * $userdata['user_dst_time_lag'] * 60;
- return ( !empty($translate) ) ? strtr(@gmdate($format, $gmepoch + (3600 * $tz) + $dst_sec), $translate) : @gmdate($format, $gmepoch + (3600 * $tz) + $dst_sec);
The latest thing I did was to reset max user ever online by phpmyadmin, if this could help...
(I already checked file permissions and cleared cache)
Edit: I just noticed that the max users online parameter in portal is not stored, but it changes exactly with the current usersonline number...