# There are no commands defined in the "mautic:messenger" namespace

**URL:** <https://forum.mautic.org/t/there-are-no-commands-defined-in-the-mautic-messenger-namespace/34108>\
**Category:** Product Support\
**Created:** [November 13, 2024, 2:46am UTC](https://forum.mautic.org/t/there-are-no-commands-defined-in-the-mautic-messenger-namespace/34108 "2024-11-13T02:46:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arjenbokhoven](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/arjenbokhoven/32/13122_2.png) [@arjenbokhoven](https://forum.mautic.org/u/arjenbokhoven)\
**Post date:** [November 13, 2024, 2:46am UTC](https://forum.mautic.org/t/there-are-no-commands-defined-in-the-mautic-messenger-namespace/34108/1 "2024-11-13T02:46:53Z")

</div>

**Your software**  
My Mautic version is: v5.1.1  
My PHP version is: 8.2.25  
My Database type and version is: MySQL 8.0.36-28  
My host is: Siteground

**Your problem**  
My problem is: I’m trying to get queue up & running with Doctrine, but I always receive an error in my cronjobs notification.

These errors are showing in the log:  
[2024-11-13T00:03:02.233769+00:00] mautic.ERROR: Symfony\Component\Console\Exception\NamespaceNotFoundException: There are no commands defined in the “mautic:messenger” namespace. Did you mean one of these? mautic mautic:anonymize mautic:assets mautic:broadcasts mautic:cache mautic:campaign mautic:campaigns mautic:contact mautic:contact:delete mautic:contacts mautic:contacts:deduplicate mautic:custom-field mautic:donotsell mautic:email mautic:emails mautic:fields mautic:install mautic:integration mautic:integrations mautic:iplookup mautic:maintenance mautic:marketplace mautic:max-mind mautic:messages mautic:plugins mautic:reports mautic:segments mautic:social mautic:theme mautic:transifex mautic:unusedip mautic:update mautic:webhooks (uncaught exception) at /home/customer/www/m.mydomain.com/public\_html/vendor/symfony/console/Application.php line 650 while running console command `UNKNOWN` [stack trace] #0 /home/customer/www/m.mydomain.com/public\_html/vendor/symfony/console/Application.php(701): Symfony\Component\Console\Application-\>findNamespace(‘mautic:messenge…’) #1 /home/customer/www/m.mydomain.com/public\_html/vendor/symfony/framework-bundle/Console/Application.php(116): Symfony\Component\Console\Application-\>find(‘mautic:messenge…’) #2 /home/customer/www/m.mydomain.com/public\_html/vendor/symfony/console/Application.php(259): Symfony\Bundle\FrameworkBundle\Console\Application-\>find(‘mautic:messenge…’) #3 /home/customer/www/m.mydomain.com/public\_html/vendor/symfony/framework-bundle/Console/Application.php(82): Symfony\Component\Console\Application-\>doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #4 /home/customer/www/m.mydomain.com/public\_html/vendor/symfony/console/Application.php(171): Symfony\Bundle\FrameworkBundle\Console\Application-\>doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #5 /home/customer/www/m.mydomain.com/public\_html/bin/console(16): Symfony\Component\Console\Application-\>run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #6 {main} {“hostname”:“gsgp1009.siteground.asia”,“pid”:4117}

Steps I have tried to fix the problem:  
I don’t even know where to start!

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [November 13, 2024, 10:26am UTC](https://forum.mautic.org/t/there-are-no-commands-defined-in-the-mautic-messenger-namespace/34108/2 "2024-11-13T10:26:46Z")

</div>

Your command should be: `messenger:consume email`

---

<div class="post-metadata">

**Author:** ![arjenbokhoven](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/arjenbokhoven/32/13122_2.png) [@arjenbokhoven](https://forum.mautic.org/u/arjenbokhoven)\
**Post date:** [November 13, 2024, 11:56pm UTC](https://forum.mautic.org/t/there-are-no-commands-defined-in-the-mautic-messenger-namespace/34108/3 "2024-11-13T23:56:47Z")

</div>

Thank you so much. That did it!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [November 15, 2024, 11:57am UTC](https://forum.mautic.org/t/there-are-no-commands-defined-in-the-mautic-messenger-namespace/34108/4 "2024-11-15T11:57:23Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
