Custom Content by Country (by iControlWP)
First echo in page template breaks with "W3TC Compatibility Mode" enabled? (4 posts)

  1. Cliff Seal
    Posted 3 years ago #

    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?


  2. Paul G.
    Plugin Author

    Posted 3 years ago #

    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.


  3. Cliff Seal
    Posted 3 years ago #


    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!

  4. Philip Isaacs
    Posted 3 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Content by Country (by iControlWP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.