Editing a user gives me an error

duderuud

Well-known member
When I try to edit a user in the admin panel the following error occurs:
error.webp

Doesn't matter what I try to edit, error keeps coming back.
Disabling add-ons in config.php doesn't help and the XF logs don't give any information, how can I troubleshoot this?
 
If it’s what we’ve seen before then it could relate to incomplete user records.

You can fix it with the SQL query I posted here:

It has been identified that this importer does work, but it may leave some missing records which may affect certain features in XF, such as editing users.

It is recommended that after importing you should additionally run these queries to cover any possible missing records:
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