Forum

[SOLVED] Update to ...
 
Notifications
Clear all

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

2 Posts
2 Users
0 Reactions
1,741 Views
(@thierry94)
Posts: 17
Active Member
Topic starter
 
[#6763]

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.


 
Posted : 17 Jun 2020 20H01
(@babynus)
Posts: 14952
Member Admin
 

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").';" ';

 
Posted : 18 Jun 2020 18H30
Share:

Scroll to Top