Support Forum

Common WPMU error replicated

21 Answers

New Answer

RA -Radio-
-Radio-
Member

that's exactly the error Andy… they have no sfmembers data.

so… we detect if the current user has NULL posts… and instead of just setting the post value to zero… set it to zero -> and test it AGAIN.

If it's still NULL, then run sf_create_member_data($userid)

and once again, I must remind you… I code with a brick.

If one of you two fine gentlemen would supply me with an updated file… I will break it with all due haste 🙂

MP Mr Papa
Mr Papa
Member

I believe we have a handle on it…  gonna try to gen up a better fix than requiring a profile page tonight or tomorrow…

MP Mr Papa
Mr Papa
Member

email sent with new test article.  It wont be quite elegant with extra db query and check on every page load for 4.0.1, but if the concept is correct, its almost free in 4.1.

Let me know if it works Radio!

RA -Radio-
-Radio-
Member

Fastest Brick in the metaverse!

i broke it… report in e-mail…

Paul-

RA -Radio-
-Radio-
Member

Your Brik-Fu is quite good Papa San.

This latest includes did not arrive pre-broken.

It is quite late at night however and I am not a student of the Red-Bull style Brik-Fu.

What I do know:

  1. just showing up on the site corrects the specific errors that might be inside the sfmembers data for that user.
  2. The 1 query overhead does not seem to be noticable.
  3. I am using wp-tuner… the whole SPF Manage Users menu renders in 1.6 seconds which is actually a little faster for me.
  4. Forum renders in under 1 second. (avg 1.7 but shared hosting and it's late, posibly more resources available this late at night.)

What I have not determined yet:

  1. I have not determined if creating a new user in a sub-blog continues to be an issue in the main blog with SPF. (I suspect it will not, as long as the user visits the main blog)
  2. any knock on effects this may have for users registering in the main blog with SPF normally.
  3. any knock on effects for Guests.
  4. If I'm actually going to wake up and go to the gym tommorrow at 6am.

g'night Gracie.

MP Mr Papa
Mr Papa
Member

good news!

well, sort of…  It will probably break for guests…  argh, this is what I get for using all my old 4.0.1 test sites for upgrade changes to 4.1… and doing the yeomans work and testing in one of my 4.1 sites and then porting it back to 4.0.1…  top of the list for tomorrow is rebuild a 4.0.1 test site…  you would think I would learn…

will send you quick mod for the guest stuff…