# Undefined is not a function

**URL:** <https://discourse.codecombat.com/t/undefined-is-not-a-function/2498>\
**Category:** Bugs\
**Created:** [January 29, 2015, 8:31pm UTC](https://discourse.codecombat.com/t/undefined-is-not-a-function/2498 "2015-01-29T20:31:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SomeKidNamedAlex](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@SomeKidNamedAlex](https://discourse.codecombat.com/u/SomeKidNamedAlex)\
**Post date:** [January 29, 2015, 8:31pm UTC](https://discourse.codecombat.com/t/undefined-is-not-a-function/2498/1 "2015-01-29T20:31:00Z")

</div>

The “undefined is not a function” appears on every level.

I checked past levels with previously working code. The problem is present even with no code changes.  
The only thing that changed was that i was not logged in when I started. Now i’m logged in with FaceBook

Please help.

---

<div class="post-metadata">

**Author:** ![sotonin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/sotonin/32/24089_2.png) [@sotonin](https://discourse.codecombat.com/u/sotonin)\
**Post date:** [January 29, 2015, 8:39pm UTC](https://discourse.codecombat.com/t/undefined-is-not-a-function/2498/2 "2015-01-29T20:39:02Z")

</div>

Which line is it happening on? It generally highlights the line it is having a problem with. Post a screenshot etc. You likely arent wearing an item that you need for whatever method you are trying to use.
