# Error: Uncaught TypeError: Cannot read property 'scripted' of undefined

**URL:** <https://discuss.elastic.co/t/error-uncaught-typeerror-cannot-read-property-scripted-of-undefined/184857>\
**Category:** Kibana\
**Created:** [June 9, 2019, 12:39am UTC](https://discuss.elastic.co/t/error-uncaught-typeerror-cannot-read-property-scripted-of-undefined/184857 "2019-06-09T00:39:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![madcon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/madcon/32/47745_2.png) [@madcon](https://discuss.elastic.co/u/madcon)\
**Post date:** [June 9, 2019, 12:39am UTC](https://discuss.elastic.co/t/error-uncaught-typeerror-cannot-read-property-scripted-of-undefined/184857/1 "2019-06-09T00:39:17Z")

</div>

Dear All,

Good day! We are currently using ELK stack version 6.7.1 build 20266 on production.

I'm trying to build a dashboard for our security monitoring tool then suddenly encountered the following error after uploading index patterns.

```
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: now-15m, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (https://localhost/built_assets/dlls/vendors.bundle.dll.js:82:102025)
    at https://localhost/built_assets/dlls/vendors.bundle.dll.js:82:113223
    at https://localhost/built_assets/dlls/vendors.bundle.dll.js:82:113274
    at ye (https://localhost/built_assets/dlls/vendors.bundle.dll.js:82:113564)
    at https://localhost/built_assets/dlls/vendors.bundle.dll.js:82:113954
    at ge (https://localhost/built_assets/dlls/vendors.bundle.dll.js:82:114016)
    at pe (https://localhost/built_assets/dlls/vendors.bundle.dll.js:82:114048)
    at e (https://localhost/built_assets/dlls/vendors.bundle.dll.js:82:99054)
    at Function.convertTimeToUTCString (https://localhost/bundles/commons.bundle.js:3:488713)
    at DashboardStateManager.handleTimeChange (https://localhost/bundles/commons.bundle.js:4:434379)
kibana#/dashboard/e3c64770-6cab-11e8-acab-b78fd1091474?_g=h@44136fa&_a=h@4f010da:1 Mixed Content: The page at 'https://localhost/app/kibana#/dashboard/e3c64770-6cab-11e8-acab-b78fd1091474?_g=h@44136fa&_a=h@4f010da' was loaded over HTTPS, but requested an insecure image 'http://www.koiossian.com/public/snort.gif'. This content should also be served over HTTPS.

```

I'm configuring [https://github.com/robcowart/synesis\_lite\_snort](https://github.com/robcowart/synesis_lite_snort) for our IDS/IPS analytics.

I'm looking for assistance and recommendations for troubleshooting this issue.

Thank you!

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [June 14, 2019, 2:30pm UTC](https://discuss.elastic.co/t/error-uncaught-typeerror-cannot-read-property-scripted-of-undefined/184857/2 "2019-06-14T14:30:31Z")

</div>

Are all the the visualizations you've created for the dashboard working properly? I don't think the deprecation warning about the date format is causing your problem.

If something changed in the index pattern and you have a visualization that uses a field which is no longer there, that would cause a problem. And the error from that might be more clear than from a dashboard containing the visualizations.

It looks like you have `state:storeInSessionStorage` enabled? That probably means you have users using Kibana with Internet Explorer? It shouldn't cause a problem in any case, but you might also try opening Kibana in a new private window (incognito on Chrome) and see if the problem goes away.

Regards,  
Lee

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 12, 2019, 2:30pm UTC](https://discuss.elastic.co/t/error-uncaught-typeerror-cannot-read-property-scripted-of-undefined/184857/3 "2019-07-12T14:30:35Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
