WPIntell

Source evidence

making site critical error

WP Telegram Login & Register · support · 2025-02-28T13:02:00+00:00

mixedsentiment
highseverity
0.9relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 34 rows with source links

17.6% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
kaisarsaiful resolved
i have a wordpress website with vikinger theme, so default we buddypress. today i have install wp telegram login and register plugin, i have setup everything correctly its getting error when i login using telegram the site critical error. error: [28-Feb-2025 11:50:57 UTC] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, WP_Error given in /home/adlueiez/adlunam.social/wp-content/plugins/buddypress/bp-core/bp-core-taxonomy.php:170 Stack trace: #0 /home/adlueiez/adlunam.social/wp-content/plugins/buddypress/bp-core/bp-core-taxonomy.php(170): array_merge() #1 /home/adlueiez/adlunam.social/wp-content/plugins/buddypress/bp-members/bp-members-functions.php(3197): bp_get_object_terms() #2 /home/adlueiez/adlunam.social/wp-content/plugins/bp-verified-member/inc/class-bp-verified-member.php(1005): bp_get_member_type() #3 /home/adlueiez/adlunam.social/wp-content/plugins/bp-verified-member/admin/class-bp-verified-member-admin.php(456): BP_Verified_Member->is_user_verified_by_member_type() #4 /home/adlueiez/adlunam.social/wp-includes/class-wp-hook.php(324): BP_Verified_Member_Admin->after_update_user_role() #5 /home/adlueiez/adlunam.social/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #6 /home/adlueiez/adlunam.social/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /home/adlueiez/adlunam.social/wp-includes/class-wp-user.php(655): do_action() #8 /home/adlueiez/adlunam.social/wp-includes/user.php(2503): WP_User->set_role() #9 /home/adlueiez/adlunam.social/wp-content/plugins/wptelegram-login/shared/LoginHandler.php(594): wp_insert_user() #10 /home/adlueiez/adlunam.social/wp-content/plugins/wptelegram-login/shared/LoginHandler.php(522): WPTelegram\Login\shared\LoginHandler->save_user_data() #11 /home/adlueiez/adlunam.social/wp-content/plugins/wptelegram-login/shared/LoginHandler.php(75): WPTelegram\Login\shared\LoginHandler->save_telegram_user_data() #12 /home/adlueiez/adlunam.social/wp-includes/class-wp-hook.php(324): WPTelegram\Login\shared\LoginHandler->telegram_login() #13 /home/adlueiez/adlunam.social/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #14 /home/adlueiez/adlunam.social/wp-includes/plugin.php(517): WP_Hook->do_action() #15 /home/adlueiez/adlunam.social/wp-settings.php(704): do_action() #16 /home/adlueiez/adlunam.social/wp-config.php(103): require_once(‘/home/adlueiez/…’) #17 /home/adlueiez/adlunam.social/wp-load.php(50): require_once(‘/home/adlueiez/…’) #18 /home/adlueiez/adlunam.social/wp-blog-header.php(13): require_once(‘/home/adlueiez/…’) #19 /home/adlueiez/adlunam.social/index.php(17): require(‘/home/adlueiez/…’) #20 {main} thrown in /home/adlueiez/adlunam.social/wp-content/plugins/buddypress/bp-core/bp-core-taxonomy.php on line 170 tried solutions : // Convert WP_Error to empty array for BuddyPress member type queries function adlunam_fix_bp_core_terms_query( $terms, $object_ids, $taxonomies, $args ) { if ( is_wp_error( $terms ) ) { return array(); } return $terms; } add_filter( ‘bp_get_object_terms’, ‘adlunam_fix_bp_core_terms_query’, 1, 4 ); // Assign member type to Telegram users function adlunam_assign_member_type_to_telegram_users( $user_id ) { // Replace ‘telegram_user’ with your actual member type slug if ( function_exists( ‘bp_set_member_type’ ) ) { bp_set_member_type( $user_id, ‘member’ ); } } add_action( ‘wptelegram_login_user_created’, ‘adlunam_assign_member_type_to_telegram_users’, 5 ); so its like a bug conflicting with your plugin and buddypress. other wise i have multiple social login even with loginwithcrypto wallet everything works fine. The page I need help with: [ log in to see the link] Hello Sorry for the late response. Somehow we didn’t get a notification for this one. It was only after we checked the forums today that we saw this topic. We have recently seen this happening quite a bit. Regarding that issue, it’s a bug in Buddypress that didn’t handle that WP Error before but it seems to have been fixed and should probably be available in the next release. Till then, you may use this code snippet to fix the issue. // Delay the login request intercept add_filter( 'wptelegram_login_intercept_request_on', function () { return [ 'init', 20 ]; } );

Comments

1 shown
Irshad Ahmad 2025-04-06T13:06:00+00:00

Hello Sorry for the late response. Somehow we didn’t get a notification for this one. It was only after we checked the forums today that we saw this topic. We have recently seen this happening quite a bit. Regarding that issue, it’s a bug in Buddypress that didn’t handle that WP Error before but it seems to have been fixed and should probably be available in the next release. Till then, you may use this code snippet to fix the issue. // Delay the login request intercept add_filter( 'wptelegram_login_intercept_request_on', function () { return [ 'init', 20 ]; } );