WPCLI Error
-
Hello,
Getting this error when I try and run any WPCLI command with the latest plugin version and latest WordPress version:
Callable ["WP_Rest_Cache_Plugin\\Includes\\CLI\\Flush_Command","__construct"] does not exist, and cannot be registered as "wp wp-rest-cache flush"
Not sure why it doesn’t exist as I can see your
Flush_Command
class extendsWP_CLI_Command
which definitely does have__construct
, maybe it can’t call a parent constructor like this…?Cheers,
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WPCLI Error’ is closed to new replies.