# Troubleshoot Mautic Plugin for Stomp-PHP

**URL:** <https://forum.mautic.org/t/troubleshoot-mautic-plugin-for-stomp-php/21179>\
**Category:** Development\
**Tags:** development, integrations-plugins\
**Created:** [October 7, 2021, 7:42am UTC](https://forum.mautic.org/t/troubleshoot-mautic-plugin-for-stomp-php/21179 "2021-10-07T07:42:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![m0b33n2hah](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/m0b33n2hah/32/4448_2.png) [@m0b33n2hah](https://forum.mautic.org/u/m0b33n2hah)\
**Post date:** [October 7, 2021, 7:42am UTC](https://forum.mautic.org/t/troubleshoot-mautic-plugin-for-stomp-php/21179/1 "2021-10-07T07:42:49Z")

</div>

I’m trying to develop a Mautic Plugin for ActiveMQ via STOMP using STOMP-PHP.  
My Stomp-PHP client is working perfectly standalone. However, when I try to embed it as a Mautic plugin, I’m getting the following errors:

```auto
1. [2021-08-11 02:59:01] console.ERROR: Error thrown while running command "mautic:integration:fetchleads". Message: "An integration must be specified" {"exception":"[object] (RuntimeException(code: 0): An integration must be specified at /var/www/html/app/bundles/PluginBundle/Command/FetchLeadsCommand.php:94)","command":"mautic:integration:fetchleads","message":"An integration must be specified"} []
2. [2021-08-11 02:59:01] mautic.NOTICE: RuntimeException: An integration must be specified (uncaught exception) at /var/www/html/app/bundles/PluginBundle/Command/FetchLeadsCommand.php line 94 while running console command mautic:integration:fetchleads [] []
3. [2021-08-11 02:59:01] mautic.WARNING: Command mautic:integration:fetchleads exited with status code 1 [] []

```

I’m using Mautic 3.2.

Thanks.

---

<div class="post-metadata">

**Author:** ![14041998](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/14041998/32/1420_2.png) [@14041998](https://forum.mautic.org/u/14041998)\
**Post date:** [October 7, 2021, 7:54am UTC](https://forum.mautic.org/t/troubleshoot-mautic-plugin-for-stomp-php/21179/2 "2021-10-07T07:54:47Z")

</div>

Hello @m0b33n2hah

Email sent with details.

Regards,  
Trish

---

<div class="post-metadata">

**Author:** ![seth2398](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@seth2398](https://forum.mautic.org/u/seth2398)\
**Post date:** [October 7, 2021, 8:05am UTC](https://forum.mautic.org/t/troubleshoot-mautic-plugin-for-stomp-php/21179/3 "2021-10-07T08:05:25Z")

</div>

Hello.

I would like to assist you with your requirement, please reach me at [seth@cisinlabs.com](mailto:seth@cisinlabs.com) to discuss further.

Regards

Seth
