BenjaminAdams / wp-redis-cache

Cache Wordpress faster
157 stars 39 forks source link

Can't Modify Headers issue after upgrading #13

Open Mindgames opened 10 years ago

Mindgames commented 10 years ago

Did upgrade to the new version with clear cache button and then i suddenly got several issues

1) Can't modify headers issues

Getting this just trying to access wp-admin now.

Warning: Cannot modify header information - headers already sent by (output started at /home/cplac/public_html/wp-content/plugins/wp-redis-cache/cache.php:74) in /home/cplac/public_html/wp-includes/pluggable.php on line 896

2) if ( wp_is_mobile() ) etc not working correctly,

Trying to flush cache and other things give blank screen. Have flushed redis from ssh but not getting it to work correctly. Any ideas on this ?

Mindgames commented 10 years ago

It's also caching for me even when logged in. Don't really know what's up here

BenjaminAdams commented 10 years ago

Pretty sure wp_is_mobile() won't work if the page is already cached.

On Wed, Jan 22, 2014 at 5:17 AM, Mindgames notifications@github.com wrote:

Did upgrade to the new version with clear cache button and then i suddenly got several issues

1) Can't modify headers issues

2) if ( wp_is_mobile() ) etc not working correctly,

Trying to flush cache and other things give blank screen. Have flushed redis from ssh but not getting it to work correctly. Any ideas on this ?

— Reply to this email directly or view it on GitHubhttps://github.com/BenjaminAdams/wp-redis-cache/issues/13 .

BenjaminAdams commented 10 years ago

In its current state it also caches pages for logged in users.

On Wed, Jan 22, 2014 at 9:29 AM, Mindgames notifications@github.com wrote:

It's also caching for me even when logged in. Don't really know what's up here

— Reply to this email directly or view it on GitHubhttps://github.com/BenjaminAdams/wp-redis-cache/issues/13#issuecomment-33033292 .

Mindgames commented 10 years ago

Okay, Maybe this will help you solve this

https://gist.github.com/JimWestergren/3053250#file-index-with-redis-php

Think it's 2 key aspects that really is needed.