• I’ve got a site running on the Woo Themes framework with the most recent versions of WP and W3 Total Cache. The side navigation is set up using the built in Menus option under Appearance in the WP admin.

    Every now and then the side navigation on some pages gets cached incorrectly, and instead of displaying the specified menu for that page or the default menu, it displays a link for every single page on the site, including the ones marked ‘private’, which is generating broken links when the site gets crawled.

    When I clear the cache, everything goes back to looking the way it’s supposed to.

    I haven’t been able to find any information about this or anyone having a similar problem so far, and I’m not sure how to move forward with figuring out what’s wrong.

    Any help anyone could offer would be awesome.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Are you sure settings haven’t been changed somewhere when this occurs? I can’t think of a reason why W3TC would randomly change behavior.

    Thread Starter walkerjd

    (@walkerjd)

    I’m not sure what kind of settings you’re referring to. It’s not happening on any one page, it happens after you’ve clicked through two pages on the site. So if you land on a page, click a link in the sidebar, and click another link in the sidebar, the page you land on will have the problem, unless I turn off the plugin in which case all the pages look fine.

    Are there errors in your error log?

    Thread Starter walkerjd

    (@walkerjd)

    No errors. I’m getting a couple warnings about fonts that say “Resource interpreted as font but transferred with MIME type application/octet-stream.”

    But I still get those warnings when I turn off the plugin, and the menus work fine.

    Yup I’m getting the same issue. It’s weird.

    On my end I’ve been able to track it down the source of the bug. The function get_post_ancestors() returns an empty array even when there are 1 or more ancestors and $post->post_parent is true.

    if ($post->post_parent) // true{
        $ancestors=get_post_ancestors($post->ID); // returns empty array
    }

    When I deactivate Total Cache, all goes back to normal.

    I’ve Same problem

    I’ve got the same problem too. With W3TC enabled get_post_ancestors() is 50% of the time returning an empty array when there is ancestors.

    COuld you guys submit a bug report from the Support page? Perhaps attach the theme template file as well.

    Is this issue still actual?

    Can someone please submit a bug submission form from the support tab of the plugin for better support / investigation?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘W3 Total Cache causing problems with theme menu’ is closed to new replies.