Closed 1naveengiri closed 2 years ago
Hi @1naveengiri
Please post output of wp package list
command
Hi @wojsmol
Thanks for checking into it.
It seems I am using an outdated version.
but I tried using this command wp package update
I also tried re-installing the given package, but Nothing works.
I do use this command to install it wp package install wp-cli/doctor-command:@stable
am I missing anything?
Thanks
@1naveengiri It appears you have an older version of wp-cli/doctor-command
installed:
I just ran wp package install wp-cli/doctor-command:@stable
and the correct version (2.1.0) installs as expected:
wp package list
+---------------------------------+------------------+------------+-----------+----------------+
| name | authors | version | update | update_version |
+---------------------------------+------------------+------------+-----------+----------------+
| wp-cli/doctor-command | Daniel Bachhuber | v2.1.0 | none | |
| wp-cli/restful | Daniel Bachhuber | dev-master | available | 1.x-dev |
| wp-cli/scaffold-package-command | Daniel Bachhuber | dev-master | available | 2.x-dev |
+---------------------------------+------------------+------------+-----------+----------------+
I'd recommend deleting your package directory and re-installing all of your packages. You can delete the entire package directory with:
rm -r $(wp package path)
Bug Report
Describe the current, buggy behavior
This commit has a fix (https://github.com/wp-cli/doctor-command/commit/fe41a0f04310304415dc667278d9f003fc6aa2d2) which seems to be not updated in the stable version of the package.
Describe how other contributors can replicate this bug
wp package install wp-cli/doctor-command:@stable
Let us know what environment you are running this on