Title: Awesome Support wp command line error when flushing cache
Last modified: July 13, 2018

---

# Awesome Support wp command line error when flushing cache

 *  Resolved [GhostInTheMachines](https://wordpress.org/support/users/dekirs/)
 * (@dekirs)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/awesome-support-wp-command-line-error-when-flushing-cache/)
 * After flushing cache via wp-cli, the following error is thrown.
 * Notice: Undefined index: SERVER_NAME in /srv/www/islanderremoteservices.com/current/
   web/app/plugins/awesome-support/includes/functions-general.php on line 198
    Notice:
   Undefined index: SERVER_PORT in /srv/www/islanderremoteservices.com/current/web/
   app/plugins/awesome-support/includes/functions-general.php on line 198 Success:
   The cache was flushed.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [awesomesupport](https://wordpress.org/support/users/awesomesupport/)
 * (@awesomesupport)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/awesome-support-wp-command-line-error-when-flushing-cache/#post-10495625)
 * Hi:
 * hmmm…what kind of cache flushing are you doing? We’re a little unsure about what
   you mean by that since there are so many different types of caches, cache plugins
   etc.
 * Also, can you test this with all other plugins disabled and let us know if the
   errors still show up?
 * Thanks so much.
 *  Thread Starter [GhostInTheMachines](https://wordpress.org/support/users/dekirs/)
 * (@dekirs)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/awesome-support-wp-command-line-error-when-flushing-cache/#post-10497838)
 * Well let me see if I can clarify my first statement in the post “After flushing
   cache via wp-cli, the following error is thrown.”
 * I ssh into the server and run the command:
    wp cache flush
 * This command flushes the WordPress system cache. More can be learned by following
   the following link.
    [https://developer.wordpress.org/cli/commands/cache/flush/](https://developer.wordpress.org/cli/commands/cache/flush/)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Awesome Support wp command line error when flushing cache’ is closed 
to new replies.

 * ![](https://ps.w.org/awesome-support/assets/icon-256x256.png?rev=1849681)
 * [Awesome Support - WordPress HelpDesk & Support Plugin](https://wordpress.org/plugins/awesome-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-support/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-support/reviews/)

## Tags

 * [cli](https://wordpress.org/support/topic-tag/cli/)

 * 2 replies
 * 2 participants
 * Last reply from: [GhostInTheMachines](https://wordpress.org/support/users/dekirs/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/awesome-support-wp-command-line-error-when-flushing-cache/#post-10497838)
 * Status: resolved