ProjeQtOr free project management software - [SOLVED] Update to V8.5.0 / Error in ImputationLine.php - ProjeQtOr
 

[SOLVED] Update to V8.5.0 / Error in ImputationLine.php

More
17 Jun 2020 18:01 - 17 Jun 2020 18:02 #1 by Thierry94
Hello
I just updated the latest version of projeqtor.
The assignments screen shows me the following errors (from the log file) :

2020-06-17 17:48:34.836 ===== TRACE ===== =====================================
2020-06-17 17:48:34.836 ===== TRACE =====
2020-06-17 17:48:34.836 ===== TRACE ===== DATABASE UPDATE COMPLETED TO VERSION V8.5.0
2020-06-17 17:48:34.836 ===== TRACE =====
2020-06-17 17:48:34.836 ===== TRACE ===== =====================================
2020-06-17 17:48:34.837 ===== TRACE =====
2020-06-17 17:48:37.861
DEBUG
loginCheck : current db version = 'V8.5.0'
2020-06-17 17:48:37.888
DEBUG
User->authenticate('XXXXXXXX', 'YYYYYYYYYY')
2020-06-17 17:48:37.896
DEBUG
User->authenticate : sha256 encryption
2020-06-17 17:48:37.896
DEBUG
User->authenticate : Successfull login
2020-06-17 17:48:38.558 ===== TRACE ===== NEW CONNECTED USER 'XXXXXXXX'
2020-06-17 17:48:50.137 ===== TRACE ===== Cron started at 17/06/2020 17:48:50
2020-06-17 17:49:00.498 ***** ERROR ***** [V8.5.0] ERROR *****
2020-06-17 17:49:00.498 ***** ERROR ***** [V8.5.0] on file '/srv/http/projeqtor/model/ImputationLine.php' at line (1037)
2020-06-17 17:49:00.498 ***** ERROR ***** [V8.5.0] cause = Array and string offset access syntax with curly braces is deprecated
2020-06-17 17:49:17.954 ***** ERROR ***** [V8.5.0] ERROR *****
2020-06-17 17:49:17.955 ***** ERROR ***** [V8.5.0] on file '/srv/http/projeqtor/model/ImputationLine.php' at line (1037)
2020-06-17 17:49:17.955 ***** ERROR ***** [V8.5.0] cause = Array and string offset access syntax with curly braces is deprecated
2020-06-17 17:52:10.736 ***** ERROR ***** [V8.5.0] ERROR *****
2020-06-17 17:52:10.740 ***** ERROR ***** [V8.5.0] on file '/srv/http/projeqtor/model/ImputationLine.php' at line (1037)
2020-06-17 17:52:10.741 ***** ERROR ***** [V8.5.0] cause = Array and string offset access syntax with curly braces is deprecated

regards.
Last edit: 17 Jun 2020 18:02 by Thierry94.

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

More
18 Jun 2020 16:30 #2 by babynus
Hi,

Fix is to replace line 1037 in model/ImputationLine.php from
echo '  style="width: 45px; text-align: center;'.$colorStyle.';'.(($manuPlan and isset($line->arrayPlannedWork{$i}->work) and  $line->arrayPlannedWork{$i}->work!="")?"color:#8080DD;font-style:italic":"color:black;ont-style:normal").';" ';
to
echo '  style="width: 45px; text-align: center;'.$colorStyle.';'.(($manuPlan and isset($line->arrayPlannedWork[$i]->work) and  $line->arrayPlannedWork[$i]->work!="")?"color:#8080DD;font-style:italic":"color:black;ont-style:normal").';" ';

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: Thierry94

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

Moderators: babynusprotion
Time to create page: 0.027 seconds