Support » Plugin: Contact Form 7 » PHP Notice when using WP CLI

  • When installing and activating the plugin via WP CLI I get a PHP Notice.
    I think this should be fixed.

    wp plugin install contact-form-7 --activate
    Installing Contact Form 7 (5.0.1)
    Herunterladen des Installationspakets von https://downloads.wordpress.org/plugin/contact-form-7.5.0.1.zip …
    Entpacken des Pakets …
    Das Plugin wird installiert …
    Das Plugin wurde erfolgreich installiert.
    Activating 'contact-form-7'...
    Notice: Undefined index: SERVER_NAME in /Users/arbeitsplatz17/Sites/ranko/wp-content/plugins/contact-form-7/includes/contact-form-template.php on line 112
    Notice: Undefined index: SERVER_NAME in /Users/arbeitsplatz17/Sites/ranko/wp-content/plugins/contact-form-7/includes/functions.php on line 356
    Notice: Undefined index: SERVER_NAME in /Users/arbeitsplatz17/Sites/ranko/wp-content/plugins/contact-form-7/includes/contact-form-template.php on line 112
    Notice: Undefined index: SERVER_NAME in /Users/arbeitsplatz17/Sites/ranko/wp-content/plugins/contact-form-7/includes/functions.php on line 356
    Plugin 'contact-form-7' activated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice when using WP CLI’ is closed to new replies.