BP Profile Search › Custom Directory not rendering
I would greatly appreciate some help debugging a strange issue.
I’ve created a new page and added the
[bps_directory]shortcode but it renders a blank page.
My default buddyboss members directory under the
/memberspages renders just fine, and I can also add a search form to that page which works as expected.
I’ve already tried disabling all the non-essential plugins but that didn’t help.
Can I maybe see some debug information in the logs to figure out what’s going wrong?andreaPlugin Author
Could you please paste here the BP Profile Search debug info? It’s explained in:
Here’s the debug info:
Version 5.4.8 Platform BuddyBoss Platform 2.3.3 Theme BuddyBoss Child 1.0.0 Members index template /themes/buddyboss-theme/buddypress/members/index.php Members loop template /plugins/buddyboss-platform/bp-templates/bp-nouveau/buddypress/members/members-loop.php Form template(s) /plugins/bp-profile-search/templates/members/bps-form-default.php
As far as I can tell, there are no JS errors in the console.andreaPlugin Author
Could you try switching temporarily to a default theme, Twenty-xx?MarcGuest
Thanks for the suggestion. I’ve tried that as well. The
[bps_directory]still renders an empty page even on the twenty theme.andreaPlugin Author
I can’t reproduce this problem, but if you wish I can take a look at your testing site. I’ll need an admin access, and if you agree you can share it privately using my Contact page.MarcGuest
I found and solved it. Finally 🙂
It had to do with precisely what you write at the top of the custom directories page.
“Additional member directories may not work well with persistent cache plugins.”
Well, I can confirm that now.
Object Cache Prorunning and once I disabled it the
[bps_directory]came to life.
The solution is described here:
I had to add the following line to my
'non_persistent_groups' => [ 'bp_pages', ],
Might be something to add to the documentation page if anyone else runs into this in the future.
Thanks for the help!andreaPlugin Author
That’s great! Thank you for sharing the solution, I’m sure it will be helpful to other users.