Not a bug I am getting fatal error in my forum.

Themehunk

Member
Affected version
2.0
Hello,

When i click on any username it gives me this error
Fatal error: Call to a member function isPrivacyCheckMet() on null in /home/themehunk123/public_html/support/src/XF/Entity/User.php on line 844

Can someone please tell me why i am getting this error?

Thank You.
 
Are the users imported from somewhere? Which software was it imported from? Was it a custom/third party importer or an official one?
 
Are the users imported from somewhere? Which software was it imported from? Was it a custom/third party importer or an official one?
I'm getting the same error on my forum when I view a member's profile. I am not using any importer. I just imported a CSV of user data from my old non-forum site into Xenforo's xf_user table. Everything seemed to set fine like the id, username, email, and join date. I just can't view profiles of those imported users.
 
I just imported a CSV of user data from my old non-forum site into Xenforo's xf_user table.
That's the problem.

Just run this query and it should sort everything out:
SQL:
INSERT IGNORE INTO xf_user_option (user_id) SELECT user_id FROM xf_user;
INSERT IGNORE INTO xf_user_privacy (user_id) SELECT user_id FROM xf_user;
INSERT IGNORE INTO xf_user_profile (user_id) SELECT user_id FROM xf_user;
INSERT IGNORE INTO xf_user_authenticate (user_id) SELECT user_id FROM xf_user;
 
Back
Top Bottom