• Resolved Terri Ann

    (@terriann)


    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 $_SERVER array are available from the command line.

    • This topic was modified 8 years ago by Terri Ann.
Viewing 1 replies (of 1 total)
  • Plugin Author WebFactory

    (@webfactory)

    We’ll patch it in the next release. Not a problem.

Viewing 1 replies (of 1 total)

The topic ‘Errors thrown with WP CLI’ is closed to new replies.