Forum

Cron error
 
Notifications
Retirer tout

Cron error

6 Posts
2 Utilisateurs
0 Reactions
1,982 Vu
(@durou-c)
Posts: 468
Contributor
Début du sujet
 
[#5732]

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


 
Posté : 4 Fév PM 21:022
(@babynus)
Posts: 14952
Membre Admin
 

check table cronexecution
Look for "cronimputationAlertCronTeamManager" and replace with "cronImputationAlertCronTeamManager"
Then restart CRON


 
Posté : 5 Fév PM 18:022
(@durou-c)
Posts: 468
Contributor
Début du sujet
 

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


 
Posté : 5 Fév PM 18:022
(@durou-c)
Posts: 468
Contributor
Début du sujet
 

cron execution table


 
Posté : 5 Fév PM 18:022
(@durou-c)
Posts: 468
Contributor
Début du sujet
 

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


 
Posté : 6 Fév PM 12:022
(@babynus)
Posts: 14952
Membre Admin
 

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

 
Posté : 6 Fév PM 17:022
Share:
Retour en haut