• Hi,
    I have a problem when using W3TC in combination with a custom plugin I wrote my own.
    What I do is calling get_query_var(“my_var”) inside a template_redirect callback.

    When W3TC is enabled, get_query_var silently fails and returns no value.

    Is this a known issue or am I doing something wrong?

    My configuration is:

    Late Init: off
    Page Cache: off
    DB Cache: off
    Object Cache: on

    Thank you

    https://www.ads-software.com/extend/plugins/w3-total-cache/

  • The topic ‘get_query_var() returning empty value when W3TC is active’ is closed to new replies.