wp-cli commands do nothing, return nothing

Try the --skip-plugins flag with the problematic commands. Just as you experienced I’ve had wp-cli error out silently and do nothing, while frustratingly work for the simpler commands version/info commands.

My silent errors were due to a bad plugin. This plugin was using php short tags, which weren’t enabled in php/x.x/cli/php.ini which wp-cli uses.

Leave a Comment