Forums

W3 Total Cache
switch_to_blog broken by w3tc (2 posts)

  1. datapharmer
    Member
    Posted 1 year ago #

    Activating the w3tc plugin in a multisite environment results in a malfunction in calls to switch_to_blog. The main site's info is still being passed instead of the info for blog_id. Subsite listings using get_bloginfo show up as the name and link of the primary/parent blog instead of children. For example, using Multisite User Management default site roles setting page displays all blogs with the same name, and using Diamond MultiSite Widgets bloglist widget causes the bloglist display on the site to say the main blog over and over (note that it displays normally on the backend).

    Other notes:Multisite install uses domain mapping plugin with subdirectory wp install.

  2. Frederick Townes
    Member
    Posted 10 months ago #

    This is a known issue. Somewhere in the forum are workarounds, I don't have the links handy sorry.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic