Hi everyone,
In the onValidate event I have this code:
// // …Previous code
if ($max_seats > 0 && $current_client_seats > $max_seats) {
$log_description = ‘Maximum concurrent seats reached for client.’;
sc_error_message(sprintf({lang_err_max_seats}, $max_seats));
// … (REST OF CODE)
}
Compiling I have no error message, but when I run the Scriptcase application I get this error back:
Parse error: syntax error, unexpected identifier “lang_err_max_sess_additions” in C:\Program Files\NetNetMake\v9-php81\wwwroot\scriptcase\app\gpsurgery\login_medical_apl.php on line 2632
The label “lang_err_max_sess_additions” exists and is correctly valued with the various localizations.
What am I doing wrong?
Can you help me?
Thanks Gaetano
Translated with DeepL.com (free version)