Forum

Error When changing...
 
Notifications
Retirer tout

Error When changing status in opportunity, the status has a event notification

5 Posts
3 Utilisateurs
0 Reactions
439 Vu
(@karl-binet)
Posts: 128
Reputable Member
Début du sujet
 
[#10042]

Hello,I’m using version V12.4.1. I’m working in an opportunity. I’m able to create the opportunity successfully, but when I change its status—for example, to “In Progress”—I get an error.Please note that I have an event notification configured for this status, so it seems to crash when it tries to send an email during the status change.

i tried V12.4.2, i get the same issue

Here is the error in Projeqtor Log File

 2026-01-22 08:12:57.867 ** ERROR ** [V12.4.1] [27] ERROR **
2026-01-22 08:12:57.867
** ERROR ** [V12.4.1] [27] on file '/var/www/html/model/persistence/SqlElement.php' at line (6741)
2026-01-22 08:12:57.868
** ERROR ** [V12.4.1] [27] cause = Undefined index:
2026-01-22 08:13:12.542
** ERROR ** [V12.4.1] [27] ERROR **
2026-01-22 08:13:12.542 ** ERROR ** [V12.4.1] [27] on file '/var/www/html/model/persistence/SqlElement.php' at line (6741)
2026-01-22 08:13:12.542 ** ERROR ** [V12.4.1] [27] cause = Undefined index:

see attach for browser console log, if this can help

i Tried deleting/recreate the event notification, it did not help.

Regards


 
Posté : 22/01/2026 4:19 pm
(@maxime)
Posts: 268
Membre Admin
 

Hello,
I can not reproduce your problem. Please explain your case step by step, providing as much detail as possible. 
Can you reproduce your case on the demo? Link to demo 
Have a nice day,


 
Posté : 26/01/2026 10:52 am
(@karl-binet)
Posts: 128
Reputable Member
Début du sujet
 

Hello, unfortunately i can not reproduce on the demo, none of the users have enough rights to complete the tests.

Here are the detail,

First test,

Hi have this Event notification

 

when i try to create a new activity, type "Cessation d'emploi" i enter the details, when i hit SAVE (the first status is "ENREGISTRER" that corresponds to the first state when i hit save" i get a red message at the top

Here is the log2026-01-26 05:56:37.379 ** ERROR ** [V12.4.1] [27] ERROR **
2026-01-26 05:56:37.379
** ERROR ** [V12.4.1] [27] on file '/var/www/html/model/persistence/SqlElement.php' at line (6754)
2026-01-26 05:56:37.379
** ERROR ** [V12.4.1] [27] cause = Undefined index:

Second test

Hi have this event notification

NOTE : there is a template in the event notification, i get the error even if there is no template.

I'm creating a new opportunity, i'm entering all the details, the first status is "Recorded" so when i hit save everything is ok because there is no event notification for this state.

If i change the state for "go-no-go" i get this error, here is the log file
NOTE : the "go-no-go" state triggers the event notification

2026-01-26 06:10:28.032 ** ERROR ** [V12.4.1] [27] ERROR **
2026-01-26 06:10:28.032 ** ERROR ** [V12.4.1] [27] on file '/var/www/html/model/persistence/SqlElement.php' at line (6741)
2026-01-26 06:10:28.032 ** ERROR ** [V12.4.1] [27] cause = Undefined index:

i also got these error in the log file, but i don't know what trigered these error

2026-01-26 05:53:52.525 ** ERROR ** [V12.4.1] [27] Error on SqlElement to get 'mailToselectedReceivers' for Class 'StatusMailPerProject' : field 'mailToselectedReceivers' not found in Database on table statusmail
2026-01-26 05:53:52.525 ** ERROR ** [V12.4.1] [27] Error on SqlElement to get 'mailToselectedReceivers' for Class 'StatusMailPerProject' : field 'mailToselectedReceivers' not found in Database on table statusmail
2026-01-26 05:54:17.768 ** ERROR ** [V12.4.1] [27] Error on SqlElement to get 'mailToselectedReceivers' for Class 'StatusMailPerProject' : field 'mailToselectedReceivers' not found in Database on table statusmail

I hope you have all the needed information, please contact me if you need more precision

Regards

 


 
Posté : 26/01/2026 2:23 pm
(@maxime)
Posts: 268
Membre Admin
 

Hello,
Thank you for the details. Unfortunately, I have not been able to reproduce your problem.
Ticket recorded #11164 
Have a nice day,
 


 
Posté : 02/02/2026 11:34 am
(@babynus)
Posts: 14952
Membre Admin
 

This issue is fixed 
and fix is available through subscription service.


 
Posté : 21/02/2026 9:05 pm
Share:
Retour en haut