Buddypress is loading wp-header() twice and wp-footer() doesn’t look loaded properly
-
I’m using latest buddypress and wordpress
I’m not using a custom theme, I’m using the buddypress template pack
I’m also running bbpress latestI’ve created a header-buddypress.php and a footer-buddypress.php to add a few html blocks (padder, etc) to match my desgin while buddypress pages are loaded
However, I just noticed that ALL of my buddypress pages were actually loading the header twice AFTER the body html tag. I think it’s firing wp-header() twice as I have a series of links, javascripts and meta after the body tag is started but no extra html tags and there’s no second body tag element. I suspect there’s no wp-footer() called either because the footer loaded is truncated right before that.
I have no idea why this is happening. I tried to eliminate the header-buddypress and footer-buddypress but that didn’t eliminate the problem.
I disabled WordPress SEO by Yoast plugin that seem to have fixed the problem with the header but I’m not sure whether the issue is solved entirely. For example, from the forums subscriptions and favorites while in the Buddypress member profile page, if I try to unsubscribe/unfavorite a topic, I get this error upon redirect (unsubscription works fine)
`Notice: Undefined variable: redirect in /path_to_my_installation/content/plugins/bbpress/bbp-includes/bbp-user-functions.php on line 510`
You must be logged in to reply to this topic.