Sorry to wake up this zombie topic but this keeps coming up sometimes after i add or change something like an ipcamera or iframe device. I know the error goes away after clearing the cache but since i use pimatic from various different devices and therefore have to clear the cache on all of those devices it’s becoming a bit of a pain in the behind. Has anybody an idea of what exactly causes this type of error?
-
error [pimatic-mobile-frontend]: Client error: Uncaught TypeError: Cannot read property 'match' of undefined
-
@fregger Can you pls run the frontend in debug mode to possibly get a stack trace? Thanks
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig Will do! (Might take a while before it comes up again.)
-
@mwittig Not sure if this helps:
03:28:05.640 [pimatic-mobile-frontend] error: Client error: Uncaught TypeError: Cannot read property 'match' of undefined 03:28:05.648 [pimatic-mobile-frontend] debug: { 03:28:05.648 [pimatic-mobile-frontend] debug:> "mode": "onerror", 03:28:05.648 [pimatic-mobile-frontend] debug:> "message": "Uncaught TypeError: Cannot read property 'match' of undefined", 03:28:05.648 [pimatic-mobile-frontend] debug:> "url": "http://192.168.10.25:85/", 03:28:05.648 [pimatic-mobile-frontend] debug:> "stack": [ 03:28:05.648 [pimatic-mobile-frontend] debug:> { 03:28:05.648 [pimatic-mobile-frontend] debug:> "url": "http://192.168.10.25:85/assets/index-d57ab05406c4796cb9796d7b056dfe80.js", 03:28:05.648 [pimatic-mobile-frontend] debug:> "line": "3", 03:28:05.648 [pimatic-mobile-frontend] debug:> "func": "a", 03:28:05.648 [pimatic-mobile-frontend] debug:> "context": [ 03:28:05.648 [pimatic-mobile-frontend] debug:> "(function(){var a,b,c,d,e,f,g,h,i=function(a,b){return function(){return a.apply(b,arguments)}},j=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1}...", 03:28:05.648 [pimatic-mobile-frontend] debug:> "(function(){var a=[].slice;!function(){var a,b;return jQuery.mobile.loader.prototype.fakeFixLoader=function(){},b={},a=function(){var a,c,d,e;d={text:\"\",textVisible:!0,textonly:!1},a=!1;for(c in b)e=b...", 03:28:05.648 [pimatic-mobile-frontend] debug:> "(function(){var a=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};!function(){var b,c;return c=function(a,b){var c,d;return d=function(){var b,d,...", 03:28:05.648 [pimatic-mobile-frontend] debug:> "(function(){var a;a=pimatic.tryCatch,$(document).on(\"pagebeforecreate\",function(b){var c;if(null==pimatic.socket)return pimatic.socket=io(\"\"+document.location.host+\"/\",{reconnection:!0,reconnectionDel...", 03:28:05.648 [pimatic-mobile-frontend] debug:> "(function(){var a={}.hasOwnProperty,b=function(b,c){function d(){this.constructor=b}for(var e in c)a.call(c,e)&&(b[e]=c[e]);return d.prototype=c.prototype,b.prototype=new d,b.__super__=c.prototype,b},...", 03:28:05.648 [pimatic-mobile-frontend] debug:> "(function(){var a,b,c,d=function(a,b){return function(){return a.apply(b,arguments)}},e=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};b=pimatic...", 03:28:05.648 [pimatic-mobile-frontend] debug:> "(function(){var a;a=pimatic.tryCatch,$(document).ready(a(function(a){var b,c;return b=function(){function a(){}return a.prototype.showLoginDialog=function(){var a;return this.redirectPage=(null!=(a=$....", 03:28:05.648 [pimatic-mobile-frontend] debug:> "(function() {" 03:28:05.648 [pimatic-mobile-frontend] debug:> ] 03:28:05.648 [pimatic-mobile-frontend] debug:> } 03:28:05.648 [pimatic-mobile-frontend] debug:> ], 03:28:05.648 [pimatic-mobile-frontend] debug:> "useragent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/56.0.2924.76 Chrome/56.0.2924.76 Safari/537.36" 03:28:05.648 [pimatic-mobile-frontend] debug:>}