# Custom plugin not showing on UI after added to plugins folder

**URL:** <https://forum.mautic.org/t/custom-plugin-not-showing-on-ui-after-added-to-plugins-folder/11065>\
**Category:** Product Support\
**Created:** [September 4, 2019, 3:52pm UTC](https://forum.mautic.org/t/custom-plugin-not-showing-on-ui-after-added-to-plugins-folder/11065 "2019-09-04T15:52:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditya](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aditya/32/494_2.png) [@aditya](https://forum.mautic.org/u/aditya)\
**Post date:** [September 4, 2019, 3:52pm UTC](https://forum.mautic.org/t/custom-plugin-not-showing-on-ui-after-added-to-plugins-folder/11065/1 "2019-09-04T15:52:17Z")

</div>

**Your software**  
My Mautic version is: 2.15.2  
My PHP version is: PHP 7.2.19-0ubuntu0.18.04.2 (cli) (built: Aug 12 2019 19:34:28) ( NTS )

**Your problem**  
My problem is: I have created a mautic hello world plugin based on mautic doc but i am unable to see the in database

These errors are showing in the log:

Steps I have tried to fix the problem:

1. Copied existing plugin and renamed in plugin dir to see if it shows (Failed)

2. Download sample plugin from internet (failed)  
[https://github.com/vishal-px/Mautic-Simple-Plugin](https://github.com/vishal-px/Mautic-Simple-Plugin)

3. Created a mautic plugin based on doc and run following command :  
php app/console cache:warmup --env=prod --no-debug  
php app/console mautic:plugins:reload

But i am not able to see the plugin. please tell me the steps i may be missing.

Attached plugin zip sample

[https://drive.google.com/open?id=1QKa66tj9kmy2YB4go60Z4k42vzm17vg1](https://drive.google.com/open?id=1QKa66tj9kmy2YB4go60Z4k42vzm17vg1)

---

<div class="post-metadata">

**Author:** ![kuzmany](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kuzmany/32/390_2.png) [@kuzmany](https://forum.mautic.org/u/kuzmany)\
**Post date:** [September 4, 2019, 7:30pm UTC](https://forum.mautic.org/t/custom-plugin-not-showing-on-ui-after-added-to-plugins-folder/11065/2 "2019-09-04T19:30:17Z")

</div>

Try install any other plugins from [https://github.com/mtcextendee/](https://github.com/mtcextendee/)  
If work, then is issue with [https://github.com/vishal-px/Mautic-Simple-Plugin](https://github.com/vishal-px/Mautic-Simple-Plugin)

---

<div class="post-metadata">

**Author:** ![aditya](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aditya/32/494_2.png) [@aditya](https://forum.mautic.org/u/aditya)\
**Post date:** [September 7, 2019, 11:12am UTC](https://forum.mautic.org/t/custom-plugin-not-showing-on-ui-after-added-to-plugins-folder/11065/3 "2019-09-07T11:12:45Z")

</div>

I have tried one of sample plugins and it seems to work and using that i have tried to create a sample plugin but i am getting an error. I have check the log and got below due which it seemed the plugin was not showing

mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “mautic.helloworld.model.contact is not a registered container key.” at /app/app/bundles/CoreBundle/Factory/ModelFactory.php line 58 {“exception”:"[object] (InvalidArgumentException(code: 0): mautic.helloworld.model.contact is not a registered container key. at /app/app/bundles/CoreBundle/Factory/ModelFactory.php:58)"}

In config i have set the following 🙂  
‘services’ =\> array(  
‘models’ =\> [  
‘mautic.helloworld.model.contact’ =\> [  
‘class’ =\> \MauticPlugin\MauticHelloWorldBundle\Model\ContactModel::class  
],  
],  
),

---

<div class="post-metadata">

**Author:** ![aditya](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aditya/32/494_2.png) [@aditya](https://forum.mautic.org/u/aditya)\
**Post date:** [September 7, 2019, 12:59pm UTC](https://forum.mautic.org/t/custom-plugin-not-showing-on-ui-after-added-to-plugins-folder/11065/4 "2019-09-07T12:59:01Z")

</div>

Hey,

Found the problem solved it based on doc is was extending CommonModel but the new mautic requires extending FormModel.

---

<div class="post-metadata">

**Author:** ![jdiaz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jdiaz/32/709_2.png) [@jdiaz](https://forum.mautic.org/u/jdiaz)\
**Post date:** [May 21, 2020, 4:08pm UTC](https://forum.mautic.org/t/custom-plugin-not-showing-on-ui-after-added-to-plugins-folder/11065/5 "2020-05-21T16:08:43Z")

</div>

Hi,  
I have same problem and i don’t find the solution.

Help!!!

Error:“mautic.helloworld.model.world is not a registered container key”

I called from the controller using this line

“$this-\>getModel(‘helloworld.world’)”

But, Whats is model’s name?

helloworldModel or worldModel
