Title: Notice: Undefined variable: base
Last modified: August 21, 2016

---

# Notice: Undefined variable: base

 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/notice-undefined-variable-base/)
 * Hello,
 * My setup is WordPress 3.5.1 with Multisite in sub-directory mode, I’m and using
   Domain Mapping. I see the following WP Super Cache warnings logged:
 * > Notice: Undefined variable: base in /var/www/wordpress/wp-content/plugins/wp-
   > super-cache/wp-cache-base.php on line 24
   > Notice: Undefined variable: base in /var/www/wordpress/wp-content/plugins/wp-
   > super-cache/wp-cache-base.php on line 27
 * As far as I can tell, the plugin works fine. But I’m wondering what this is, 
   and how to clear it. I run my own CentOS box and can install any missing dependencies,
   if any.
 * Thanks.
 * [http://wordpress.org/extend/plugins/wp-super-cache/](http://wordpress.org/extend/plugins/wp-super-cache/)

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

 *  [Leo “Route Planner” Sauermann](https://wordpress.org/support/users/leo-sauermann-portatour/)
 * (@leo-sauermann-portatour)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/notice-undefined-variable-base/#post-3718898)
 * I also have this. WP-Super-Cache 1.3.2 with WP 3.6.1.
    I have multisite.
 * I wonder if this breaks my option to invalidate the cache after updating a post.
 *  [ChrisFo](https://wordpress.org/support/users/chrisfo/)
 * (@chrisfo)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/notice-undefined-variable-base/#post-3718899)
 * hmm. I have two WP blogs on the same hoster and conditions (using WP-Super-Cache
   1.3.2 with WP 3.6.1). One is working very well, the other after editing posts,
   pages, users, etc. shows an error page with this messages:
 *     ```
       Notice: Undefined variable: wp_cache_object_cache in /www/.../wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1115
   
       Warning: Cannot modify header information - headers already sent by (output started at /www/.../wp-content/plugins/wp-super-cache/wp-cache-phase2.php:1115) in /www/.../wp-admin/post.php on line 222
   
       Warning: Cannot modify header information - headers already sent by (output started at /www/.../wp-content/plugins/wp-super-cache/wp-cache-phase2.php:1115) in /www/.../wp-includes/pluggable.php on line 875
       ```
   
 * I have tried to harmonize settings in WP-Super-Cache and .htaccess without success
   so far.

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

The topic ‘Notice: Undefined variable: base’ 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/)

 * 2 replies
 * 3 participants
 * Last reply from: [ChrisFo](https://wordpress.org/support/users/chrisfo/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/notice-undefined-variable-base/#post-3718899)
 * Status: not resolved