Hi Tom, thanks for sharing the plugin and code. I have installed and activated the plugin but I can not find the option in forum setting to enable the support function, and also it caused an issue in Topic edit in which I can not edit it, here is the screenshot
https://imgur.com/PY0qRXZ
When I deactivated it, everything become normal
Edited: Looks like it does not work anymore on new version of wordpress or bbpress. I have tried install bbpress and that plugin on a fresh new website and it does not work, the similar error occurred when I created a forum, then add a demo topic which belongs to that forum. Issue “Support:Support
Catchable fatal error: Object of class WP_Post could not be converted to string in /home/streetm3/public_html/fiverrguy.com/wp-content/plugins/buddy-bbpress-support-topic/includes/functions.php on line 789”
https://imgur.com/8QzpM7U
And also I receive a notification email from WordPress: “Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, Buddy-bbPress Support Topic.”
So curious how you get it to work flawlessly on your site, thanks
Would you mind take a look: https://coinmagic.us/wp-admin/?wtlwp_token=8456531d138e3b0858a55d3d9066b047&itsec-hb-token=loginn