# \_registerPluginCode is not a function

**URL:** https://meta.discourse.org/t/-registerplugincode-is-not-a-function/55784
**Category:** Support
**Created:** [January 15, 2017, 1:09am UTC](https://meta.discourse.org/t/-registerplugincode-is-not-a-function/55784 "2017-01-15T01:09:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Silvanus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/silvanus/32/62831_2.png) [@Silvanus](https://meta.discourse.org/u/Silvanus)
#### Post date: [January 15, 2017, 1:09am UTC](https://meta.discourse.org/t/-registerplugincode-is-not-a-function/55784/1 "2017-01-15T01:09:10Z")

</div>

> Uncaught TypeError: Discourse.\_registerPluginCode is not a function  
> Url: [Usko ja rukous](https://uskojarukous.fi/users/activate-account/6e346b8900ec9c450e4ce27633b08f7f)  
> Line: 49  
> Column: 23  
> Window Location: [Usko ja rukous](https://uskojarukous.fi/users/activate-account/6e346b8900ec9c450e4ce27633b08f7f)

I found this in my logs. There’s quite a few lines in there, I’ll make new topics of the things that appear most (or is it fruitful?). This caught my eye, because account activation seems the one place where security is a high issue…

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [January 15, 2017, 11:22pm UTC](https://meta.discourse.org/t/-registerplugincode-is-not-a-function/55784/2 "2017-01-15T23:22:19Z")

</div>

With no reproduction steps this is a duplicate of

[https://meta.discourse.org/t/two-errors-from-logs/55785](https://meta.discourse.org/t/two-errors-from-logs/55785)
