After spending some hours with the same strange behaviour i finally found a solution:
This error happens when you’r running WP in a multisite-environment, only on the mainsite AND if you added define('NOBLOGREDIRECT', 'http://example.com');
to your wp-config.php
Adding remove_action( 'template_redirect', 'maybe_redirect_404' );
to your themes functions.php will stop that annoying bug.
I guess this error happens because maybe_redirect_404() is fired before the profile-pages are build. the network administrator (or sub-sites) will be never redirected by NOBLOGREDIRECT, thats why the bug never happends when a network-admin clicks on a profile-link or when you’r running bbpress on a sub-site in your WP-network.
More about the NOBLOGREDIRECT-fix (it also helps showing 404-errors): http://frumph.net/2010/06/05/wordpress-3-0-multisite-subdomain-installation-noblogredirect-behavior-fix/
-
This reply was modified 12 years, 5 months ago by Fuchsy.