# Errore della console JavaScript: impossibile leggere la proprietà 'createRecord' di undefined

**URL:** https://meta.discourse.org/t/javascript-console-error-cannot-read-property-createrecord-of-undefined/38371
**Category:** Support
**Created:** [23 Gennaio 2016, 6:26am UTC](https://meta.discourse.org/t/javascript-console-error-cannot-read-property-createrecord-of-undefined/38371 "2016-01-23T06:26:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [23 Gennaio 2016, 6:26am UTC](https://meta.discourse.org/t/javascript-console-error-cannot-read-property-createrecord-of-undefined/38371/1 "2016-01-23T06:26:25Z")

</div>

I’m seeing this in the javascript console of a fully up to date discourse:

> application-0b81ea4bddf0821944eacaef02726263.js:15 Uncaught TypeError: Cannot read property ‘createRecord’ of undefined

These are my plugins:

discourse-details 0.3  
discourse-solved 0.1  
discourse-tagging 0.2  
docker\_manager 0.1  
lazyYT 1.0.1  
New Relic RPM 3.14.1.311  
poll 0.9

where else should I look for the source of this error?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [23 Gennaio 2016, 7:20am UTC](https://meta.discourse.org/t/javascript-console-error-cannot-read-property-createrecord-of-undefined/38371/2 "2016-01-23T07:20:25Z")

</div>

Anything we do not ship is highly suspect. So by that logic, the New Relic plugin.

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [23 Gennaio 2016, 6:09pm UTC](https://meta.discourse.org/t/javascript-console-error-cannot-read-property-createrecord-of-undefined/38371/3 "2016-01-23T18:09:38Z")

</div>

I removed all the plugins, and `./launcher rebuild app`

Turns out, it was this a problem with a site customization.. a javascript which was added in the Body tag

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [8 Giugno 2024, 12:45pm UTC](https://meta.discourse.org/t/javascript-console-error-cannot-read-property-createrecord-of-undefined/38371/4 "2024-06-08T12:45:54Z")

</div>

Questo argomento è stato chiuso automaticamente dopo 3059 giorni. Non sono più consentite nuove risposte.
