# Error When creating custom plugin

**URL:** <https://meta.discourse.org/t/error-when-creating-custom-plugin/69426>\
**Category:** Development\
**Created:** [September 5, 2017, 7:53pm UTC](https://meta.discourse.org/t/error-when-creating-custom-plugin/69426 "2017-09-05T19:53:12Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![afall](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@afall](https://meta.discourse.org/u/afall)\
**Post date:** [September 5, 2017, 7:53pm UTC](https://meta.discourse.org/t/error-when-creating-custom-plugin/69426/1 "2017-09-05T19:53:13Z")

</div>

Dear Discourse Community,  
So I am following the instructions on [Developing Discourse Plugins - Part 1 - Create a basic plugin](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins-part-1/30515) to create a discourse plugin, but everytime I add a new sub-directory in the plugins folder, and add a plugins.rb file in the sub-directory when I load up my discourse instance again I get the following error :Error while trying to load. I am running the instance as admin.

 ![09 PM](https://global.discourse-cdn.com/meta/original/3X/7/1/71ae216084f4e84207c64751ac54c37f34bd4d70.png)

---

_[View the full topic](https://meta.discourse.org/t/error-when-creating-custom-plugin/69426)._
