I noticed an error in log file when I entered to Reports:
root@local:/# cat /var/log/apache2/timetracker.mydomain.com_error.log
[Tue Sep 03 00:32:15.091402 2019] [:error] [pid 4355] [client 1.1.1.1:5378] PHP Warning: Invalid argument supplied for foreach() in /var/www/timetracker.mydomain.com/WEB-INF/lib/ttReportHelper.class.php on line 1603, referer: https://timetracker.mydomain.com/reports.php
Anuko Time Tracker 1.19.8.5052 - reports error
Re: Anuko Time Tracker 1.19.8.5052 - reports error
Line # 1603:
Nothing to worry about as you don't have inactive users in group.
Code: Select all
foreach ($inactive_users_in_bean as $user_in_bean) {
if (!in_array($user_in_bean, $valid_ids)) {
return false;
}
}
Re: Anuko Time Tracker 1.19.8.5052 - reports error
At the moment I don't have inactive users, but in can change in the future. It would be nice to fix the code to avoid errors in syslog.