I should also mention that this plugin worked great, up until the newest version of WP came out. I’m trying to trouble shoot in your code what the problem is, and why it would only affect certain pages and not others. I’ve deleted my temp files, no dice. Nothing.
Best thing to do is in wp-config.php
Set WP_DEBUG to true
Set WP_DEBUG_DISPLAY to false
Set WP_DEBUG_LOG to true
Then go to the page(s) that are having issues.
The errors should be recorded in wp-content/debug.log which should hopefully point to the source of the problem(s)
You sir, have awesome response time. Much appreciated thank you! I checked the log. I also set WP_DEBUG_DISPLAY to true. Below is what shows up on the page (I removed the path parts):
Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /--------/--------/--------/--------/wp-includes/functions.php on line 3996
Notice: The called constructor method for WP_Widget in my_wdg_meta is deprecated since version 4.3.0! Use
__construct()
instead. in /--------/--------/--------/--------/wp-includes/functions.php on line 3767
Notice: The called constructor method for WP_Widget in my_wdg_post_categories is deprecated since version 4.3.0! Use
__construct()
instead. in /--------/--------/--------/--------/wp-includes/functions.php on line 3767
Notice: The called constructor method for WP_Widget in my_wdg_post_tags is deprecated since version 4.3.0! Use
__construct()
instead. in /--------/--------/--------/--------/wp-includes/functions.php on line 3767
Notice: The called constructor method for WP_Widget in my_wdg_newsletter is deprecated since version 4.3.0! Use
__construct()
instead. in /--------/--------/--------/--------/wp-includes/functions.php on line 3767
Notice: The called constructor method for WP_Widget in my_wdg_website_description is deprecated since version 4.3.0! Use
__construct()
instead. in /--------/--------/--------/--------/wp-includes/functions.php on line 3767
I checked those lines int he functions.php I don’t see any issues.
Thanks for the details. Unfortunately that error log doesn’t show anything thats helpful. “Notice” entries typically don’t break anything so those can be ignored.
I’ve just tested the plugin with the latest version of WordPress and bbPress but couldn’t seem to replicate the issue, see https://cl.ly/3O0A2e0Q473l – I tested different forum/category levels as well as being logged in and logged out. I tested it in TwentyTwelve and TwentyFifteen.
My best guess is it’s going to be something in the custom theme, but I can’t really speculate on what that would be.
If you have a staging or development copy of the site, I would change the theme and see if that resolves the issue. If so, at least that some what narrows down where the conflict is.
Thank you for checking and for that recording.
I will double check some things and let you know.