Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Argument 3 passed to E3DC::getPowerSumOfLog() must be of the type int #18

Closed
Brovning opened this issue Feb 25, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Brovning
Copy link
Owner

Brovning commented Feb 25, 2022

Describe the bug
Moin… nach dem UPDATE des Moduls habe ich am Tag ca. 300 mal folgenden Fehler:

25.02.2022, 17:41:17 | TimerPool | S10 E (cyclicDataUpdateSlow):
Fatal error: Uncaught TypeError: Argument 3 passed to E3DC::getPowerSumOfLog() must be of the type int, float given, called in /var/lib/symcon/modules/.store/e3dc/libs/myFunctions.php on line 487 and defined in /var/lib/symcon/modules/.store/e3dc/libs/myFunctions.php:469
Stack trace:
#0 /var/lib/symcon/modules/.store/e3dc/libs/myFunctions.php(487): E3DC->getPowerSumOfLog(59189, 1645743600, 1645775438,5, 1)
#1 /var/lib/symcon/modules/.store/e3dc/e3dc/module.php(2931): E3DC->getPowerSumOfLog(59189, 1645743600, 1645807277, 1)
#2 /var/lib/symcon/modules/.store/e3dc/e3dc/module.php(2938): E3DC->GetGridConsumptionEnergyWh(1645743600, 1645807277)
#3 /var/lib/symcon/scripts/__generated.inc.php(331): E3DC->GetGridConsumptionEnergyKwh(1645743600, 1645807277)
#4 /var/lib/symcon/modules/.store/e3dc/e3dc/module.php(2634): E3DC_GetGridConsumptionEnergyKwh(57001, 1645743600, 1645807277)
#5 /var/lib/symcon/scripts/__generated.inc.php(2667): E3DC->CyclicDataUpdateSlow()
#6 /-(1): E3DC_CyclicDataUpdateSlow(57001)
#7 {main}
thrown in /var/lib/symcon/modules/.store/e3dc/libs/myFunctions.php on line 469

source: https://community.symcon.de/t/modul-e3dc-stromspeicher/51140/103

@Brovning Brovning added the bug Something isn't working label Feb 25, 2022
@Brovning Brovning self-assigned this Feb 25, 2022
Brovning added a commit that referenced this issue Feb 25, 2022
#18 Uncaught TypeError: Argument 3 passed to E3DC::getPowerSumOfLog() must be of the type int
Brovning added a commit that referenced this issue Feb 25, 2022
Bugfix #18: Uncaught TypeError getPowerSumOfLog()
@Brovning Brovning mentioned this issue Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant