AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Deleted user still exist in database and usergroup member count

7 Posts
3 Users
1 Reactions
8,906 Views
Posts: 51
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@basatexcellent)
Trusted Member
Joined: 9 years ago
[#7334]

I checked the database to understand why the member count in a usergroup was wrong.

I found that deleted users still exists in the database and are counted as member in the usergroups. Deleting the records in the database solved the member count issue.


6 Replies
Sofy
Posts: 5774
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Hi basatexcellent,

It seems you're using some other profile plugin, that has an effect on this process. I mean that doesn't allow to delete users from avatar. 

To make sure just deactivate other plugins and check again. 


Posts: 51
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@basatexcellent)
Trusted Member
Joined: 9 years ago

Hi @Sofy,

Thank you. It is very hard to deactivate my membership plugin (Ultimate Member). I deleted the user account from the account page of Ultimate Member. Although the user is not visible at WPForo frontend (replaced by Anonymous) and the user is deleted from WordPress database, it still exist in the WPForo profile table. Don't you think this needs to be solved between Ultimate Member and WPForo?

As an alternative I can write an action hook. Do you have documented functions to delete a user from WPForo?


Posts: 51
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@basatexcellent)
Trusted Member
Joined: 9 years ago

Hi @Sofy

I was able to test and proof this works fine when user is deleted form WP backend. Therefore I opened a support ticket at Ultimate Member. They are working on it.


Sofy
Posts: 5774
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Thank you for letting us know. 


Page 1 / 2
Share: