comments error message - Ops!!! Something is wrong
Ops!!! Something is wrong
Hi, my users are getting this error when deleting comments message. Is there a solution to fix this?
Please can you help to fix this.
Please feel free to Join to write comments and then delete them to see the error message. Please also note that It is also not deleting the comments straight away.
The issue comes neither from wpDiscuz nor wpDiscuz Frontend Moderation add-on.
One of the active plugins uses the wp_delete_comment WordPress hook() and remove some actions which caused this issue. Actually, the comments are being deleted (you can check on Dashboard > Comments admin page), however, as some of the plugins also use the same hook and remove the action so the error message is being displayed.
Please deactivate the plugins one by one and check after each deactivation to find the problem maker one. Don't forget to press Ctrl+F5 before checking to reload updated JS/CSS files. And please keep the WP Rocket plugin deactivated during this testing process.
Another thing i just realised is users are able to delete the same comments directly from the wall in buddypress posts with out any error messages. Which proves that the problem is directly coming with WP Discuz
Just to let you know my theme developers would like to get in touch with you to work on a long term solution together. I have provided them with the above email address you provided. Please let me know when they have contact you.
Hi, my theme developer has just sent you an email and said they are ready to assist with the solutions. Please acknowledge that you have received their email and kindly respond buddy. Regards
The issue comes from some of the plugins, not from the active theme, so theme developers have nothing to do here. Please confirm us to install and activate the following plugin (Duplicator – WordPress Migration Plugin) on your website, backup your WordPress site and test it on our local server.
Thank you @dendrites.
The issue comes from the BuddyPress plugin and cannot be fixed by wpDiscuz side. For some reason, the wp_delete_comment WordPress function is being called twice (BuddyPress plugin uses hooks that calls the function) and it messes up wpDiscuz codes. You should contact BuddyPress support and ask them to check the issue.
Ok, please can you promise to delete the copy of all my files and I will send a message back to my theme developers as they a very kind to always help me resolve issues I have with other plugin developers, such as yours. Could you kindly send a report of any of your findings back time my theme developer so they can take a look. I will also contact BuddyPress in the meantime.
Hi, sorry to say, this is an incorrect analysis of the problem. As i said above that the Superpwa plugin was deactivated and deleted many months ago. I also done the same test a you have using the Chrome browser and have a completely different result in the Chrome inspection. It is not showing Superpwa at all. Please can you have a closer look into this issue or find someone who might better understand this problem. I look forward to hearing from you at your earliest convenience.
I performed this test and it does not exist on my site.