# How to identify which plugin causes error

**URL:** <https://meta.discourse.org/t/how-to-identify-which-plugin-causes-error/58129>\
**Category:** Product Support\
**Created:** [28 Febbraio 2017, 9:25pm UTC](https://meta.discourse.org/t/how-to-identify-which-plugin-causes-error/58129 "2017-02-28T21:25:05Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
**Post date:** [1 Marzo 2017, 9:43am UTC](https://meta.discourse.org/t/how-to-identify-which-plugin-causes-error/58129/7 "2017-03-01T09:43:46Z")

</div>

Info (domain replaced):

```
Uncaught TypeError: Cannot read property 'on' of undefined
Url: https://forum.example.com/assets/plugin-third-party-865e853871f20eeae50c3bede19ef7d8bd5352766ee238799cb2bb94caaecd68.js
Line: 1
Column: 14095
Window Location: https://forum.example.com/latest

```

The OP was from b.acktrace

env (edited):

```
hostname	***
process_id	[143, 135, 150]
application_version	f918951d42234790938da442a768c2bf80f87069
HTTP_HOST	forum.example.com
REQUEST_URI	/logs/report_js_error
REQUEST_METHOD	POST
HTTP_USER_AGENT	[Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36, Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36]
HTTP_ACCEPT	*/*
HTTP_REFERER	https://forum.example.com/
HTTP_X_FORWARDED_FOR	[83.xx.xx.xx, unix:, 130.xxx.xx.xx, unix:]
HTTP_X_REAL_IP	unix:
params	
message	Uncaught TypeError: Cannot read property 'on' of undefined Url: https://forum.example.com/assets/plug
url	https://forum.example.com/assets/plugin-third-party-865e853871f20eeae50c3bede19ef7d8bd5352766ee238799
line	1
column	14095
window_location	https://forum.example.com/
stacktrace	TypeError: Cannot read property 'on' of undefined at https://forum.example.com/assets/plugin-thir

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-identify-which-plugin-causes-error/58129)._
