View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - v11.2.2: Login impossible and Error Undefined variable: listParam - ProjeQtOr
 
 

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

More
24 Apr 2024 11:51 #1 by tblanken
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

Please Log in or Create an account to join the conversation.

More
28 Apr 2024 19:19 #2 by babynus
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

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.024 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.