Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

v11.2.2: Login impo...
 
Notifications
Clear all

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

2 Posts
2 Users
0 Reactions
1,316 Views
(@tblanken)
Posts: 41
Active Member
Topic starter
 
[#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


 
Posted : 24 Apr 2024 13H51
babynus
(@babynus)
Posts: 14966
Main Contributor 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


 
Posted : 28 Apr 2024 21H19
Share:

Scroll to Top