Forum

v11.2.2: Login impo...
 
Notifications
Retirer tout

v11.2.2: Login impossible and Error Undefined variable: listParam

2 Posts
2 Utilisateurs
0 Reactions
1,297 Vu
(@tblanken)
Posts: 41
Active Member
Début du sujet
 
[#9434]

Hi,
after update from v11.1.5 to current v11.2.2, a single user could not log in.
Instead of getting first page displayed, the browser always remains showing the loading-symbol.
The following error was written to log after every attempt to log in:2024-04-24 11:33:33.497 ** ERROR ** [V11.2.2] ERROR **
2024-04-24 11:33:33.497
** ERROR ** [V11.2.2] on file '/var/www/projeqtor_ym/model/TodayParameter.php' at line (134)
2024-04-24 11:33:33.497
** ERROR ***** [V11.2.2] cause = Undefined variable: listParamFirst quick fix to solve the problem (without checking the reason for the above error) is to modify 'model/TodayParameter.php' line 134 in this way:

if (isset($listParam)){
    foreach ($listParam as $param){...}
}

Maybe you have another idea on what went wrong to fix the reason and not the result ... But for the moment it seems to be ok 😉

Best regards,
Torben


 
Posté : 24 Avr PM 13:044
(@babynus)
Posts: 14952
Membre Admin
 

Hi,
Thanks for pointing out the issue and for proposing a fix.
You fix will works, but we'll fix another way, adding new line after 79 :

$listParam=array();

Fix will be included in V11.2.3


 
Posté : 28 Avr PM 21:044
Share:
Retour en haut