Support » Plugin: Custom Content by Country (by iControlWP) » First echo in page template breaks with "W3TC Compatibility Mode" enabled?

  • So, this should be fun.

    I had “W3TC Compatibility Mode” enabled and used the shortcodes twice in a page. After caches cleared for that page, it would break on load after the first echo (of any kind) in the custom page template being used—note that echoes in the header worked fine.

    I disabled this mode and exempted the page from caching in W3 Total Cache’s settings and things went back to working.

    Any ideas?

    http://wordpress.org/extend/plugins/custom-content-by-country/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Paul

    (@paultgoodchild)

    Hi Cliff,

    Can you elaborate on “break on load”? Were you seeing any error message, or debug messages? Did the page load at all? Anything you can give me here would help me track it down. Perhaps if you enabled it on a test page on your site then I could look at the damage it does directly.

    Thanks,
    Paul.

    Paul,

    Everything would load right up until that first echo in the page template. So, if I were echoing something in an <h1>, ‘<h1>’ would be the very last thing in the source. I didn’t see any error messages, but I didn’t have WP_DEBUG on at the time.

    I’ll see if I can make it happen somewhere again and share. Thanks!

    I hope it’s not too late to elaborate on this question. But what is the benefit of “W3TC Compatibility Mode” and do most people use it? I’m trying to decied if I need to enable it on my site.

    Floyd

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘First echo in page template breaks with "W3TC Compatibility Mode" enabled?’ is closed to new replies.