MiniProfiler icon indicating copy to clipboard operation
MiniProfiler copied to clipboard

Uncaught TypeError: Object [object Object] has no method 'tmpl'

Open jimmymain opened this issue 11 years ago • 1 comments

I am getting the below error, but only on some pages.

image

If I inspect the elements in chrome, I see the two links to the necessary dependent script files. image

If I check the network tab, the two files have been loaded.

My suspicion is that this might be race condition in the loading of the asyc java script files. I am happy to try and fix it myself if you guys have a few pointers?

Thanks Regards Craig.

jimmymain avatar Aug 09 '13 13:08 jimmymain

Hi,

I have commented out the async, and this appears to have solved the problem (which is intermittent anyway). I think you might need to omit the async loading of the template, or find a way to ensure that the load order is preserved / correct.

Regards Craig.

jimmymain avatar Oct 01 '13 03:10 jimmymain