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

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!

Your command should be: messenger:consume email

Thank you so much. That did it!

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