[Solved] Duplicate and/or wrong member mentions
One of my clients is having some issues when mentioning members on his replies.
When there are multiple members mentioned and while still writing the reply everything seems fine.
As soon as the reply is posted one of two things can happen.
1. The same mention "tags" will appear multiple times.
2. A random mention will be displayed multiple times instead of the correct user mention.
See the attached examples for both cases.
This does not happen all the time and there are no caching plugins on the website.
The specific setup was implemented by a different developer so I am not 100% certain if what I will describe is exactly how all of this works.
There is a wpforo, buddypress and memberpress combo. When someone purchases a membership through memberpress his profile is created in buddypress, which then gives access to the forum with the same profile information.
I have also deployed a duplicate of the website on a local xampp server in order to investigate more.
On the windows event viewer I am getting the following errors
mysqld.exe: Table '.\wd\wp_dcf6f09b30_wpforo_profiles' is marked as crashed and should be repaired
mysqld.exe: Table '.\wd\wp_dcf6f09b30_wpforo_languages' is marked as crashed and should be repaired
This might be or not be related to the issue on the live website as it might have been a bad backup or something could have happened during deploying the backup (which I will retry with a fresh backup).
Some of the information I am giving might seem random, but I wanted to list everything I have gathered.
Let me know if there are any suggestions or if this is something that you have seen before since I couldn't find something similar on your support forum.
Thanks in advance,
I'm sorry, but this is almost impossible to debug and find the reason. You should create a clean WordPress/wpForo website, then create a few users with the same username and nicknames. Then try to create such posts with mentioned users and test it. It would be good if the clean test website is online so we may see it too.
The errors are not related to the problem, that errors say your duplicated database tables are not imported and created successfully. You should optimize and repair the tables in phpMyAdmin database manager.
Unfortunately, creating a new installation from scratch wouldn't be possible. As you can imaging this is a complex website and it was quite recently recreated. There are a lot more features/content than just the forum.
Would just uninstalling and reinstalling wpForo help in any way? If so, is there a way to safely export and reimport all of the forum data afterwards?
Is the issue I am mentioning something you have met before? I am asking in case there is even the slightest thing that might point me somewhere, as there are no visible issues on error logs or elsewhere.
I am sorry that I can't give you any more information about the buddypress/memberpress/wpforo implementation, but this part was done from a different team that no longer works with my client and there is no documentation about it.
Thanks for clarifying regarding the db table errors. I have already fixed those on my local installation, but I wanted to make sure they weren't related.
Unfortunately, creating a new installation from scratch wouldn't be possible.
I meant to create a WordPress/wpForo site, nothing else. Just create it, then manually register 3-4 users with the username and nicknames from your example and test it. I don't ask you clone it just install a simple WP and wpForo. If all is ok with the vanilla WP/wpForo then the problem comes from other plugins, you should deactivate plugins in the live website and est after each plugin deactivation with a new post, don't test existing posts.