XF 1.3 Conversation error with imported users

Hi All

I have a site I am hoping to make live. I am the default admin (not imported), everything seems ok.

I imported users from joomla using jfusion. All ok, users can login, passwords work etc.

Now, if I try and start a conversation with one of the imported users, I get error:

XenForo_Model_User->passesPrivacyCheck() in XenForo/Model/Conversation.php at line 1166
XenForo_Model_Conversation->canStartConversationWithUser() in XenForo/ControllerPublic/Conversation.php at line 493
XenForo_ControllerPublic_Conversation->actionAdd() in XenForo/FrontController.php at line 347
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/lynefc7/public_html/forums/index.php at line 13

But if one of the imported users starts one, its fine and I can reply all ok. Imported users can start conversations with each other all ok.

Any ideas?



XenForo moderator
Staff member
It sounds as if the imported users are missing some data with regards to privacy settings.

Which importer did you use?
Ok, sussed it. I needed to make sure conversation was activated as by default, conversation was not allowed in administrative permission group.
ref imported, I used jfusion which basically pushed the users from joomla into xenforo, not an inbuilt one. Auto addded them to the registered group.


XenForo moderator
Staff member
A permission setting shouldn't throw an error.

I suspect the importer you used has missed some data so you may encounter further errors until you get the database tables corrected.
Ok, think I fixed the underlying issue. The user profile table was not being populated on import. After populating it with all the user_id's, and resetting the Administrative group permission I know longer get the code.

Anyway, this leads me to another question. Is there any code that can make sure all the user fields are setup correctly and if not repopulate with defaults eg user_id?
Just be handy with any form of import


XenForo moderator
Staff member
All you can do is look at the core code related to creating or importing users.
Then compare it with what has been imported.