buddypress-group-email-subscription icon indicating copy to clipboard operation
buddypress-group-email-subscription copied to clipboard

"Unsubscribe from this group" link goes to a blank page

Open levycarneiro opened this issue 3 years ago • 6 comments

Hello,

at the footer of BGES emails there's a link "Unsubscribe from this group", but when clicking on it, it takes to a blank page.

The link is in this format: https://<hostname>/members/johntest/?bpass-action=unsubscribe&group=156&access_key=<some_key>

Any tips how to fix this?

I'm using BuddyBoss plugin/theme.

Thanks.

levycarneiro avatar Apr 17 '21 15:04 levycarneiro

Can you clarify "blank page"? Is it a white screen that indicates a fatal error?

boonebgorges avatar Apr 19 '21 15:04 boonebgorges

It's a literal white page with nothing showing. On the inside, there's some HTML but nothing that shows on the browser.

levycarneiro avatar Apr 19 '21 15:04 levycarneiro

And what is the HTML? Do you see anything in your server error log?

boonebgorges avatar Apr 19 '21 15:04 boonebgorges

This is what shows in the Wordpress debug log:

[19-Apr-2021 17:12:41 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function bp_is_search_post_type_enable() in /var/www/<hostname>/wp-content/plugins/buddyboss-platform/bp-templates/bp-nouveau/includes/search/functions.php:69
Stack trace:
#0 /var/www/<hostname>/wp-includes/class-wp-hook.php(292): bp_nouveau_search_enqueue_scripts('')
#1 /var/www/<hostname>/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/<hostname>/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#3 /var/www/<hostname>/wp-content/plugins/buddyboss-platform/bp-templates/bp-nouveau/buddypress-functions.php(548): do_action('bp_nouveau_enqu...')
#4 /var/www/<hostname>/wp-includes/class-wp-hook.php(292): BP_Nouveau->enqueue_scripts('')
#5 /var/www/<hostname>/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/<hostname>/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#7 /var/www/community.ne in /var/www/<hostname>/wp-content/plugins/buddyboss-platform/bp-templates/bp-nouveau/includes/search/functions.php on line 69

levycarneiro avatar Apr 19 '21 17:04 levycarneiro

Thanks for sharing this. From what you've posted, it's a BuddyBoss bug - I haven't seen the function bp_is_search_post_type_enable() before. I'd suggest reaching out to their team.

boonebgorges avatar Apr 19 '21 17:04 boonebgorges

Checking with them, thanks very much!

levycarneiro avatar Apr 19 '21 17:04 levycarneiro