View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
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.
The topic has been locked.
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
The topic has been locked.
Moderators: babynusprotion
Time to create page: 0.032 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.