WP-CLI sudden empty response

I’ve run into the same problem. It worked on Saturday. This Monday it auto-upgraded to 7.0.10, now it breaks. I don’t have a fix, so here’s more information that MAY help debugging? I’m on CentOS7 with cPanel’s EA brand of PHP. PHP 7.0.10 (cgi-fcgi) (built: Aug 22 2016 20:34:53) Copyright (c) 1997-2016 The PHP Group … Read more

How can I get the WP-CLI eval-file command to report errors to stderr?

Adding the following lines to the top of your script, as recommended in Github issue, should report any runtime errors: ini_set( ‘display_errors’, 1 ); error_reporting(E_ALL); However, it will not report syntax errors, which is a big headache as you try to write your script. This is my workaround for that: Add following line to bottom … Read more

Unable to install plugins from wp-cli

Caching plugins usually require some additional manual work in moving some files from the plugin directory to the root of the wp-content directory and maybe some wp-config.php changes. It is possible that the plugin fails to initialize due to that.