Skip to content

Error: 'jw-random' is not a registered wp command #19

@thaikolja

Description

@thaikolja

Hi,

The installation fails on my MacBook Pro (macOS 10.15.4). I use the following command to install:

wp package install jaywood/jw-wpcli-random-posts:dev-master

It ends with Success two PHP notices:

Success: Package installed.
PHP Notice:  Trying to access array offset on value of type null in phar:///usr/local/Cellar/wp-cli/2.4.0/bin/wp/vendor/wp-cli/package-command/src/Package_Command.php on line 1244

Notice: Trying to access array offset on value of type null in phar:///usr/local/Cellar/wp-cli/2.4.0/bin/wp/vendor/wp-cli/package-command/src/Package_Command.php on line 1244

The command doesn't register, too:

Error: 'jw-random' is not a registered wp command. See 'wp help' for available commands.

I've tried version 2, but it doesn't help. Any idea how to fix it without digging into wp-cli core files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions