Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Imputation - ERROR ...
 
Notifications
Clear all

Imputation - ERROR unsupported operand types : string / string

4 Posts
2 Users
0 Reactions
2,235 Views
(@vba)
Posts: 16
Active Member
Topic starter
 
[#8369]

Hello team,

From this morning, i have this strange error when trying to save my imputation, (V9.5.5)
Note that we've never experience errors with imputation before.

The error appears for every users, for a specific activity. This activity was created yesterday, and imputation done yesterday saved with no error.

The debug set to 4, the full saveImputation log is attached, and the specific errors lines are :

2022-07-20 14:06:06.817 ** ERROR ** [V9.5.5] EXCEPTION ** 
2022-07-20 14:06:06.817 ** ERROR ** [V9.5.5] on file '/path/to/prj/projeqtor/model/PlanningElement.php' at line (448)
2022-07-20 14:06:06.817 ** ERROR ** [V9.5.5] cause = Unsupported operand types: string / string
2022-07-20 14:06:06.817 ** ERROR ** [V9.5.5]    => #0 /path/to/prj/projeqtor/model/ActivityPlanningElementMain.php (520) -> save()
2022-07-20 14:06:06.817 ** ERROR ** [V9.5.5]    => #1 /path/to/prj/projeqtor/model/PlanningElement.php (1389) -> save()
2022-07-20 14:06:06.817 ** ERROR ** [V9.5.5]    => #2 /path/to/prj/projeqtor/model/PlanningElement.php (1420) -> updateSynthesisObj()
2022-07-20 14:06:06.817 ** ERROR ***** [V9.5.5]    => #3 /path/ro/prj/projeqtor/tool/saveImputation.php (265) -> updateSynthesis()

Any advice (other than recreate and replace the activity) ?

EDIT : i forgot to mention that despite this error, the imputation are correctly saved.


 
Posted : 20 Jul 2022 16H47
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Strange, it seems you have an Activity with planning mode "Fix duration", without a duration defined.
Try and set validated duration.
It should fix the issue.


 
Posted : 21 Jul 2022 19H37
(@vba)
Posts: 16
Active Member
Topic starter
 

The Activity is set with planning mode "Fix Duration", and a duration is set (btw a start date and an end date, with the caldulated duration).
The issue only occur on this specific activity, fir a specific date (for the time being).
Well, do not not spend more time on this if it not occur anymore in the future.

Thanks for your support.


 
Posted : 22 Jul 2022 18H21
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Ticket #6362 recorded


 
Posted : 27 Jul 2022 12H14
Share:

Scroll to Top