Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Jordan Buonforte](https://secure.gravatar.com/avatar/be7a4da08fbd869a9c2c700dd7e31121?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Jordan Buonforte
6,013 Points*** Terminating app due to uncaught exception
*** Terminating app due to uncaught exception 'NSUnknownKeyException', respm: ' [ <FunFacts.ViewController 0x7fe2ec81680> setValue: forUndefinedKey:] this is not key value coding-complaint for the key funFact.' ***First throw call stack:
Does anyone have any idea what this means and what i did wrong? I tried to follow the videos exactly and got lost along the way.
2 Answers
![Martin Wildfeuer](https://secure.gravatar.com/avatar/1d8de1e8e193bb39539e624618de9c60?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Martin Wildfeuer
Courses Plus Student 11,071 PointsThis is most commonly the result of a storyboard outlet connected to a class property that is not longer there. That is, you might have removed/renamed a property in code that was still connected to an outlet. This is not handled automatically by Xcode, if you remove a connected property in code, you also have to remove that connection in storyboard.
To check for this, switch to storyboard and bring up the utilities column (upper right). Select the element and the connections inspector (top right of the utilities column). Check if there are any unwanted connections and remove them if necessary.
Hope that helps!
![Jordan Buonforte](https://secure.gravatar.com/avatar/be7a4da08fbd869a9c2c700dd7e31121?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Jordan Buonforte
6,013 Pointsi never responded to this but that definitely did help! thanks martin!
Jacob Dobson
5,122 PointsJacob Dobson
5,122 PointsHow do you check for unwanted connections? I have this...
https://drive.google.com/open?id=0B0U0ox5hQlfZSmhyUVpsbmxzVzQ