Closed wilpig closed 7 months ago
same code so probably, apply the patch and test
I did and it seems to have fixed my issue as well. Thank you!
Just added a new CDU and resulted in this: [Mon Feb 05 16:12:33.898620 2024] [php:error] [pid 22322] [] PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /srv/openDCIM/openDCIM-23.04/classes/PowerDistribution.class.php:634\nStack trace:\n#0 /srv/openDCIM/openDCIM-23.04/devices.php(2238): PowerDistribution->GetAllBreakerPoles()\n#1 {main}\n thrown in /srv/openDCIM/openDCIM-23.04/classes/PowerDistribution.class.php on line 634, referer: https://mydcim/power_panel.php?PanelID=1
I will look into that, but that is a different class and a different issue.
I think I created the CDU with no breaker pole and was unable to change it afterwards. I updated the fac_PowerDistribution manually and now the device works just fine.
Sorry for the stupid question: Is this maybe related to my discussion #1506 ?