Skip to content

Various queue and schedule commands are missing #467

@stefanfisk

Description

@stefanfisk

Version

dev-main

What did you expect to happen?

I'd expect that all queue:* and schedule:* commands where available.

What actually happens?

A bunch are missing. For example queue:listen.

For some commands it seems like a command with similar spelling is invoked instead. For example queue:failed seems to run queue:failed-table.

Steps to reproduce

Run wp acorn queue:listen and watch it fail.

System info

Ubuntu 24.04.

Log output

[2025-05-26 12:36:43] development.ERROR: Command "queue:listen" is not defined.

Did you mean one of these?
    queue:batches-table
    queue:clear
    queue:failed-table
    queue:table
    queue:work
    route:list
    schedule:list {"exception":"[object] (Symfony\\Component\\Console\\Exception\\CommandNotFoundException(code: 0): Command \"queue:listen\" is not defined.

Did you mean one of these?
    queue:batches-table
    queue:clear
    queue:failed-table
    queue:table
    queue:work
    route:list
    schedule:list at /srv/app/vendor/symfony/console/Application.php:726)
[stacktrace]
#0 /srv/app/vendor/symfony/console/Application.php(284): Symfony\\Component\\Console\\Application->find('queue:listen')
#1 /srv/app/vendor/symfony/console/Application.php(193): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\StringInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#2 /srv/app/vendor/roots/acorn/src/Illuminate/Foundation/Console/Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\StringInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#3 /srv/app/vendor/roots/acorn/src/Roots/Acorn/Application/Concerns/Bootable.php(100): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\StringInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#4 [internal function]: Roots\\Acorn\\Application->Roots\\Acorn\\Application\\Concerns\\{closure}(Array, Array)
#5 /srv/app/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(102): call_user_func(Object(Closure), Array, Array)
#6 [internal function]: WP_CLI\\Dispatcher\\CommandFactory::WP_CLI\\Dispatcher\\{closure}(Array, Array)
#7 /srv/app/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(497): call_user_func(Object(Closure), Array, Array)
#8 /srv/app/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(470): WP_CLI\\Dispatcher\\Subcommand->invoke(Array, Array, Array)
#9 /srv/app/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(493): WP_CLI\\Runner->run_command(Array, Array)
#10 /srv/app/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1295): WP_CLI\\Runner->run_command_and_exit()
#11 /srv/app/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\\Runner->start()
#12 /srv/app/vendor/wp-cli/wp-cli/php/bootstrap.php(84): WP_CLI\\Bootstrap\\LaunchRunner->process(Object(WP_CLI\\Bootstrap\\BootstrapState))
#13 /srv/app/vendor/wp-cli/wp-cli/php/wp-cli.php(35): WP_CLI\\bootstrap()
#14 /srv/app/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once('/srv/app/vendor...')
#15 {main}
"} 

   ERROR  Command "queue:listen" is not defined. Did you mean one of these?  

  ⇂ queue:batches-table  
  ⇂ queue:clear  
  ⇂ queue:failed-table  
  ⇂ queue:table  
  ⇂ queue:work  
  ⇂ route:list  
  ⇂ schedule:list

Please confirm this isn't a support request.

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions