Title: Cannot modify header information
Last modified: December 27, 2020

---

# Cannot modify header information

 *  Resolved [fazolejh](https://wordpress.org/support/users/fazolejh/)
 * (@fazolejh)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-168/)
 * Hi, I have a problem with Cache enabler and TwentyTwenty theme. Sometimes when
   I click on Clear Site Cache my admin backend shows PHP headers error. Im not 
   sure If its dangerous for my web so can you help me to solve I?
 * This is it:
 * Warning: is_dir(): open_basedir restriction in effect. File(/data/web/virtuals/
   122843/virtual/www/wp-content/cache/cache-enabler/uschovat.cz/https-index.html/)
   is not within the allowed path(s): (/data/web/virtuals/122843/virtual) in /data/
   web/virtuals/122843/virtual/www/wp-content/plugins/cache-enabler/inc/cache_enabler_disk.
   class.php on line 254
 * Warning: Cannot modify header information – headers already sent by (output started
   at /data/web/virtuals/122843/virtual/www/wp-content/plugins/cache-enabler/inc/
   cache_enabler_disk.class.php:254) in /data/web/virtuals/122843/virtual/www/wp-
   includes/pluggable.php on line 1296
 * Warning: Cannot modify header information – headers already sent by (output started
   at /data/web/virtuals/122843/virtual/www/wp-content/plugins/cache-enabler/inc/
   cache_enabler_disk.class.php:254) in /data/web/virtuals/122843/virtual/www/wp-
   includes/pluggable.php on line 1299
 * Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-modify-header-information-168%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Anonymous User 16850768
 * (@anonymized-16850768)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-168/#post-13849153)
 * The first PHP warning is related to your [`open_basedir`](https://www.php.net/manual/en/ini.core.php#ini.open-basedir)
   restrictions in your PHP configuration file and not Cache Enabler. The fix would
   depend on your preference. You can update the allowed paths or even set it to`
   none` instead. The `open_basedir` directive documentation contains more information
   about this. If you happen to have a managed hosting provider I would presume 
   they can assist as they have direct access to the PHP configuration file on your
   server.
 * I believe the following PHP warnings will be resolved once the above is fixed.
   It would be great if you can confirm this for me after the `open_basedir` restriction
   issue is resolved.
 *  Thread Starter [fazolejh](https://wordpress.org/support/users/fazolejh/)
 * (@fazolejh)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-168/#post-13855761)
 * Hi Corey,
    I was searching for open_basedir problem on my hosting (as you mentioned).
   And I discovered that is not open_basedir problem but migration problem. I migrated
   my web (via Duplicator plugin) and the the path in wp-config.php didn’t changed
   to the new one. I don’t know who had to change it – Duplicator or Cache Enabler
   or me? 😀 So my problem was solved by deactivating and deleting the Cache Enabler
   plugin. After that I installed it again and it works.
 * Thank you for help.
 *  Anonymous User 16850768
 * (@anonymized-16850768)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-168/#post-13863190)
 * Excellent! I’m glad to hear the issue has been resolved. Thank you for following
   up and letting me know how you fixed it, I really appreciate that.
 * If you’re able leaving an honest [review](https://wordpress.org/support/plugin/cache-enabler/reviews/)
   is always helpful.

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

The topic ‘Cannot modify header information’ is closed to new replies.

 * ![](https://ps.w.org/cache-enabler/assets/icon.svg?rev=2442383)
 * [Cache Enabler](https://wordpress.org/plugins/cache-enabler/)
 * [Support Threads](https://wordpress.org/support/plugin/cache-enabler/)
 * [Active Topics](https://wordpress.org/support/plugin/cache-enabler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cache-enabler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cache-enabler/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: Anonymous User 16850768
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-168/#post-13863190)
 * Status: resolved