emoncms / app

Emoncms App module: application specific dashboards: includes myelectric, mysolarpv, myheatpump and solar + wind app.
GNU Affero General Public License v3.0
27 stars 71 forks source link

PHP TypeError in Safari, not in Chrome or Firefox #167

Closed oakedcorn closed 2 years ago

oakedcorn commented 2 years ago

Only on Safari I am getting this error when loading an App:

EmonCMS Error
-------------
Message: TypeError: feed.getdata is not a function. (In 'feed.getdata(config.app.solar.value,view.start,view.end,view.interval)', 'feed.getdata' is undefined)
Route: app/view?name=My+Solar
Line: 796
Column: 45

This error occurred after switching from App v2.3.4 to v2.5.1.

My component versions: Components: Emoncms Core v11.0.5 | App v2.5.1 | EmonHub Config v2.1.1 | Dashboard v2.2.2 | Device v2.1.7 | Graph v2.1.6 | Network Setup v1.0.2 | WiFi v2.1.1 | DemandShaper v2.2.2 | Postprocess v2.2.4 | Sync v2.1.3 | EmonScripts v1.4.1 | RFM2Pi v1.4.1 | Emonhub v2.3.1 | EmonPi v2.9.4

PHP Version: 7.3.9-1~deb10u1 (Zend Version 3.3.9)

oakedcorn commented 2 years ago

Clearing the Safari browser caches solves the issue -- closing ticket.