Title: Undefined variable errors on page saves
Last modified: August 30, 2016

---

# Undefined variable errors on page saves

 *  [billsmithem](https://wordpress.org/support/users/billsmithem/)
 * (@billsmithem)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-errors-on-page-saves/)
 * Just started getting the following notice when saving changes to pages:
 * Notice: Undefined variable: protocol in /home/dhmreale/public_html/dhmwp/wp-content/
   plugins/wp-super-cache/wp-cache-phase1.php on line 583
 * Looking at wp-cache-phase1.php I don’t see $protocol declared anywhere in the
   file.
 * wp_cache_debug( “get_current_url_supercache_dir: Removing SERVER_NAME ({$WPSC_HTTP_HOST})
   and $protocol from permalink ($permalink). Is the url right?”, 1 );
 * Any idea what’s going on?
 * [https://wordpress.org/plugins/wp-super-cache/](https://wordpress.org/plugins/wp-super-cache/)

The topic ‘Undefined variable errors on page saves’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [billsmithem](https://wordpress.org/support/users/billsmithem/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-errors-on-page-saves/)
 * Status: not resolved