I am managing a network around 80 sites using Wordpress multisite 3.2. I am going through problems using switch_to_blog whith wordpress_place_term.

To check i have disabled all plug ins, and am testing on the blank page so little else intervenes. This is actually the sample code:

wp_insert_term( 'New Term','category');

When run from most blogs it adds the brand new term towards the preferred blog and also the permalink towards the new term page works.

However for a couple of from the blogs, if this runs it adds the word, however the connect to the brand new term page throws a 404 error. Opening wordpress-admin and adding any new term through wordpress-admin fixes it.

Any ideas why this really is happening?