WordPress.org

Forums

W3 Total Cache
W3TC Conflict with WP Events Manager (Multisite) (6 posts)

  1. jrstaatsiii
    Member
    Posted 3 years ago #

    Hey Frederick,

    I came across a conflict with the WP Events Manager Plugin (EM) when it is working in Multisite mode. Let me set up the situation.

    With EM in multisite, you can network activate the plugin so that each sub-site can have its own events, and also aggregate all events across the network into a list that can be displayed on the network home. I noticed that when this feature of (EM) is in use, and when W3TC is also activated, the network list (on the network home site) will not link to the subsite but try to link to an event on the network home site (which doesn't exist). For example, if i have an event called test event 1 on a sub site called My First Sub-Site, it should link as so: http://mysite.com/my-first-sub-site/events/test-event-1/. However, when on the network home site, the link that is created is: http://mysite.com/events/test-event-1/ which does not exist, and therefore sends the user to a 404 page.

    The EM plugin author was kind enough to look into the issue (before I went through deactivating plugins 1-by-1), and could not find any reason for this to be happening. When I deactivated W3TC everything returned to normal. We were wondering if W3TC had problems with get_blog_permalink since we cannot seem to work through this problem.

    Thanks for your help!

    Rich

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. johnetec
    Member
    Posted 3 years ago #

    Hey Rich... I've had similar issues with W3TC. I would try disabling the object cache. It causes issues with themes and may be the root cause of your troubles.

    FYI

    John

  3. jrstaatsiii
    Member
    Posted 3 years ago #

    thanks i'll look into that!

  4. Marcus
    NetWebLogic Support
    Posted 3 years ago #

    Might be worth noting that I output some info on Rich's site and get_blog_permalink is definitely where it's going wrong, if you see below, it tries to access blog 2 and the correct post_id, but the permalink is still the root blog.

    <!-- Getting Vail Snow Daze from blog 2 -->
    <!-- Trying $EM_URI = get_blog_permalink(2, 75); -->
    <!-- $EM_URI = http://....com/events/ -->
    <!-- Getting The Nutcracker Performance from blog 2 -->
    <!-- Trying $EM_URI = get_blog_permalink(2, 75); -->
    <!-- $EM_URI = http://....com/events/ -->
    .....
  5. andreasnrb
    Member
    Posted 3 years ago #

    Did you file a bug report under the SUpport page in the plugin?

  6. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    @jrstaatsiii, was that the solution?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic