Symfony\Component\Console\Exception\CommandNotFoundException: Command "mautic:emails:send" is not defined

Your software
My Mautic version is: 5.2.1
My PHP version is:8.1
My Database type and version is:MariaDB

Your problem
My problem is: None of my emails are sending

These errors are showing in the log:

[2025-02-17T00:00:02.320927+00:00] mautic.ERROR: Symfony\Component\Console\Exception\CommandNotFoundException: Command "mautic:emails:send" is not defined.  Did you mean one of these?     mautic:broadcasts:send     mautic:email:fetch     mautic:emails:fetch     mautic:messages:send (uncaught exception) at /var/www/html/vendor/symfony/console/Application.php line 720 while running console command `UNKNOWN` [stack trace] #0 /var/www/html/vendor/symfony/framework-bundle/Console/Application.php(116): Symfony\Component\Console\Application->find() #1 /var/www/html/vendor/symfony/console/Application.php(259): Symfony\Bundle\FrameworkBundle\Console\Application->find() #2 /var/www/html/vendor/symfony/framework-bundle/Console/Application.php(82): Symfony\Component\Console\Application->doRun() #3 /var/www/html/vendor/symfony/console/Application.php(171): Symfony\Bundle\FrameworkBundle\Console\Application->doRun() #4 /var/www/html/bin/console(16): Symfony\Component\Console\Application->run() #5 {main} [] {"hostname":"mail-list-server","pid":1955}
[2025-02-17T00:05:02.076626+00:00] mautic.ERROR: Symfony\Component\Console\Exception\CommandNotFoundException: Command "mautic:emails:send" is not defined.  Did you mean one of these?     mautic:broadcasts:send     mautic:email:fetch     mautic:emails:fetch     mautic:messages:send (uncaught exception) at /var/www/html/vendor/symfony/console/Application.php line 720 while running console command `UNKNOWN` [stack trace] #0 /var/www/html/vendor/symfony/framework-bundle/Console/Application.php(116): Symfony\Component\Console\Application->find() #1 /var/www/html/vendor/symfony/console/Application.php(259): Symfony\Bundle\FrameworkBundle\Console\Application->find() #2 /var/www/html/vendor/symfony/framework-bundle/Console/Application.php(82): Symfony\Component\Console\Application->doRun() #3 /var/www/html/vendor/symfony/console/Application.php(171): Symfony\Bundle\FrameworkBundle\Console\Application->doRun() #4 /var/www/html/bin/console(16): Symfony\Component\Console\Application->run() #5 {main} [] {"hostname":"mail-list-server","pid":2097}

Steps I have tried to fix the problem: Posted to the forum and tried updating my Debian 12 base.

This command is removed in Mautic 5 when updating the core to support Symfony Messenger.

Please see this PR: https://github.com/mautic/mautic/pull/11613