When calculating the plan, I get: (from log)
** ERROR ** [V8.5.1] cause = Undefined variable: regulTh (in line 844 of PlannedWork.php)
Seems as $regulTh is defined in line 833 which is within a condition that ($delaiTh and $delaiTh>0).
It appears due to $regulTh is only conditionally assigned if workDayDiffDates() returns non-zero (to avoid division by zero).
Does it make sense to set $regulTh equal to $ass->leftWork if workDayDiffDates() returns 0?
Another issue that may/may not be related - we see in the log the following error:
xxxx-xx-xx --:--:--.--- ** ERROR ** [V8.5.1] Exception-[42000] SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8mb4_general_ci' is not valid for CHARACTER SET 'utf8'
(xxxx-xx-xx --:--:00.--- is timestamp) - message is followed by a stack trace
It happens several times and started last couple of days ago.
Hello,
ticket #4762 created.
It will be resolved in next corrective patch.
Thank you.
I see the following in the log:
Syntax error or access violation: 1253 COLLATION 'utf8mb4_general_ci' is not valid for CHARACTER SET 'utf8'
What is the reason, and could you please supply a workaround?
Thanks,
Avri
Hi,
It is just that de collation could not be determinated correctly.
Add line in parameters.php :
$paramDbCollation='utf8';