dashboard: kwhperiod error -> kwhperiod_render.js?v=3 -> error: result is null #1788
Description
emoncms:
-> version:
Git
URL
https://github.com/emoncms/emoncms.git
Branch
* master
Describe
11.0.5-3-g122d3291
Components
Emoncms Core v11.0.7 | App v2.5.1 | Dashboard v2.2.2 | Device v2.1.7 | Graph v2.1.6 | WiFi v2.1.1 | Backup v2.3.2 | DemandShaper v2.2.2 | Postprocess v2.2.4 | Sync v2.1.3 | Emonhub v2.3.2 | EmonPi v2.9.5 | EmonScripts v1.4.1 | RFM2Pi v1.4.1
#############################
i'm using the khwperiod since around 1-2 years, without any problems, and without doing any changes in dashboard to show the daily usage of few values.
and seems to be, auto-updates are executed and upgraded or don'T know.
but, now it is not working around since 2 weeks (~2022-02-22)
i already tried to cleanup browsers and so on ...cache cleanup/reload, then tested with fresh new windows version with mozilla + chrome -> still getting this error:
error when using
EmonCMS Error
Message: TypeError: result is null
Route: Modules/dashboard/widget/kwhperiod/kwhperiod_render.js?v=3
Line: 746
Column: 34
if i look into the js file:
// thisPeriodStartValue
var result = feed.getvalue(feedid, thisPeriodStartTime.getTime()*0.001)
//console.log(result, 'recent period start value')
var thisPeriodStartValue = result[1]