Skip to content

ArgumentCountError: Too few arguments for drupal site:statistics #3416

@blasvicco

Description

@blasvicco

ArgumentCountError: Too few arguments for drupal site:statistics

[ command:site:statistics ] 0 passed 1 expected

Problem/Motivation

Performing this command call in the console result in the next error:
ArgumentCountError: Too few arguments to function Drupal\Console\Extension\Manager::getList(), 0 passed in /private/var/www/vhost/anexusit/drupal-console/src/Command/Site/StatisticsCommand.php on line 190 and exactly 1 expected in /private/var/www/vhost/anexusit/drupal-console/src/Extension/Manager.php on line 104

Details to include:

  • We should handle the exception

How to reproduce

Calling the console command
drupal command:site:statistics

Details to include:

  • Drupal version 8.3.5.
  • Console version 1.0.0-rc23.
  • Console Launcher version 1.0.0-rc21.

Solution

Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions