Forum

Cron error
 
Notifications
Retirer tout

Cron error

6 Posts
2 Utilisateurs
0 Reactions
1,981 Vu
(@durou-c)
Posts: 468
Prominent Member
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é : 04/02/2019 9:07 pm
(@babynus)
Posts: 14952
Membre Admin
 

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


 
Posté : 05/02/2019 6:19 pm
(@durou-c)
Posts: 468
Prominent Member
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é : 05/02/2019 6:37 pm
(@durou-c)
Posts: 468
Prominent Member
Début du sujet
 

cron execution table


 
Posté : 05/02/2019 6:39 pm
(@durou-c)
Posts: 468
Prominent Member
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é : 06/02/2019 12:31 pm
(@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é : 06/02/2019 5:35 pm
Share:
Retour en haut