I've got Cron error in a log file:
2019-02-04 19:05:13.067 ** ERROR ** [V7.3.4] cause = call_user_func() expects parameter 1 to be a valid callback, function 'cronimputationAlertCronTeamManager' not found or invalid function name
2019-02-04 19:05:13.136 ===== TRACE ===== Cron error : Une erreur est survenue le 2019-02-04 à 19:05:13
check table cronexecution
Look for "cronimputationAlertCronTeamManager" and replace with "cronImputationAlertCronTeamManager"
Then restart CRON
I did th modification but steel error:
2019-02-05 16:26:18.827 ===== TRACE ===== Cron normally stopped at 05/02/2019 16:26:18
2019-02-05 16:26:47.338 ===== TRACE ===== Cron started at 05/02/2019 16:26:47
2019-02-05 16:30:47.597 ** ERROR ** [V7.3.4] ERROR **
2019-02-05 16:30:47.597 ** ERROR ** [V7.3.4] on file '/var/www/projeqtor/model/Cron.php' at line (427)
2019-02-05 16:30:47.597 ** ERROR ***** [V7.3.4] cause = call_user_func() expects parameter 1 to be a valid callback, function 'cronImputationAlertCronTeamManager' not found or invalid function name
2019-02-05 16:30:47.598 ===== TRACE ===== Cron error : Une erreur est survenue le 2019-02-05 à 16:30:47
I try to delete on cron table the line cronimputationAlertCronTeamManager and cronimputationAlertCronTRessource.
I create new parameter.
I have already the same log error...
2019-02-06 10:28:50.693 ** ERROR ** [V7.4.0] ERROR **
2019-02-06 10:28:50.693 ** ERROR ** [V7.4.0] on file '/var/www/projeqtor/model/Cron.php' at line (427)
2019-02-06 10:28:50.693 ** ERROR ***** [V7.4.0] cause = call_user_func() expects parameter 1 to be a valid callback, function 'cronimputationAlertCronTeamManager' not found or invalid function name
2019-02-06 10:28:50.693 ===== TRACE ===== Cron error : Une erreur est survenue le 2019-02-06 à 10:28:50
OK, there is an isue when creating the line.
In fact, you should not need to create it, as it is created by script of V7.2.0
Issue ot fix in the table
replace fileExecuted from
../tool/cronExecutionStandard.php
to
../tool/generateImputationAlert.php
and replace functionName from
cronimputationAlertCronTeamManager
to
cronImputationAlertCronTeamManager