View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - ERROR in log file "projeqtor.php' at line (4525)" - ProjeQtOr
 
 

ERROR in log file "projeqtor.php' at line (4525)"

More
17 Feb 2022 15:35 #1 by kh.boukriniaa
Hello,
I recently migrated projeqtor from version 5 to the latest version 9.3.4, and really kudos to the whole projeqtor team.
In addition, I have been receiving a repetitive message for 1 day,
2022-02-17 15:20:16.301 ***** ERROR ***** [V9.4.3] ERROR *****
2022-02-17 15:20:16.303 ***** ERROR ***** [V9.4.3] on file 'C:\wamp64\www\projeqtor\tool\projeqtor.php' at line (4525)
2022-02-17 15:20:16.304 ***** ERROR ***** [V9.4.3] cause = Trying to access array offset on value of type null

exactly at the level of the function
function isFF() {
$browser=Audit::getBrowser();

if ($browser=='Mozilla Firefox') {
if ($browser) {
return $browser;
} else {
return true;
}
}
return false;
}

Can you help me please

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

More
18 Feb 2022 23:17 - 18 Feb 2022 23:20 #2 by Baryhobal
Hello,
First of all, you're missing part of the actual function. It should be:
function isFF() {
  $browser=Audit::getBrowser();
  if ($browser['browser']=='Mozilla Firefox') {
    if ($browser['version']) {
      return $browser['version'];
    } else {
      return true;
    }
  }
  return false;
}


If we look in projeqtor/model/Audit.php, we can see that the only case in which the method getBrowser returns null is if
$_SERVER ['HTTP_USER_AGENT']
isn't set.
This means that you're browser probably didn't send the User-Agent header.
Unfortunately, I don't know how to fix this but I hope you'll find a way to make it work. Or maybe a dev can help you
Last edit: 18 Feb 2022 23:20 by Baryhobal.

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

More
22 Feb 2022 18:13 #3 by babynus
Which browser are you using ?
 

Babynus
Administrator of ProjeQtOr web site

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

More
03 Mar 2022 16:11 #4 by kh.boukriniaa

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

Moderators: babynusprotion
Time to create page: 0.040 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.