ceteix
Forum Replies Created
-
any update @vanbom for the development sponsorship? can we do that ?
hi @vanbom there is any way to sponsor the development? Just let me know, or email me.
Just checking out the code i’ve seen that the discord functions support multiple roles, it needs a small change from url based to data-based list.
Also, the plugin is reading a “role” from _ets_pmpro_discord_role_id, instead of reading Membership and checking the Linked membership with discord roles.Best regards
can we make an improvement request ? or any time soon plans to add the functionality ?
Hi
- The WP Core is: 6.2.2
- Not sure how to check that, i suppose it gets the access when the users aproves the discord app connection. (Or the bot does not have permissions to get discord user email.)
- The plugin is not changed or modified, i’m using the latest version.
I’m not sure how to reproduce it. I know it happens on a new user sign-up, and then they connect to discord using the plugin button.
Let me know if i can debug more the plugin or what config to verify. (i’ve disabled bot settings , as per Younes, for user creation and checkout login + disabled any notification/message option for new users)
Best regards
HI, Just disabled the flags as suggested and got a similar error. There is no security plugin enabled or other restrictions in place.
[21-Jun-2023 14:27:28 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WP_Error::exists() in /home/public_html/wp-includes/user.php:1897
Stack trace:0 /home/public_html/wp-includes/pluggable.php(2753): clean_user_cache(Object(WP_Error))
1 /home/public_html/wp-content/plugins/wp-user-manager/includes/functions.php(1319): wp_set_password(‘eF._ip^awD/-9Bh…’, Object(WP_Error))
2 /home/public_html/wp-content/plugins/pmpro-discord-add-on/includes/classes/class-discord-api.php(625): wp_new_user_notification(Object(WP_Error), NULL, ‘ry&K89MX!eiu’)
3 /home/public_html/wp-includes/class-wp-hook.php(308): PMPro_Discord_API->ets_pmpro_discord_discord_api_callback(”)
4 /home/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
5 /home/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
6 /home/public_html/wp-settings.php(623): do_action(‘init’)
7 /home/public_html/wp-config.php(88): require_once(‘/home/… in /home/public_html/wp-includes/user.php on line 1897