Errors thrown with WP CLI
-
I am starting to use the command line interface for WordPress, WP CLI, to automate cloning my WordPress sites to my local machine for development and updates but as I started running plugin listing and modifying commands I started seeing this error:
$ wp plugin install jetpack PHP Notice: Undefined index: HTTP_HOST in ~/Sites/example.com/html/wp-content/plugins/minimal-coming-soon-maintenance-mode/framework/public/init.php on line 40 Notice: Undefined index: HTTP_HOST in ~/Sites/example.com/html/wp-content/plugins/minimal-coming-soon-maintenance-mode/framework/public/init.php on line 40 ...Not a blocking bug; it doesn’t affect the site or admin – just command line. None of the keys in the
$_SERVERarray are available from the command line.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Errors thrown with WP CLI’ is closed to new replies.