BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25184

    Hi Bryan,
    Thank you for sharing the details.

    I am able to see there is some kind of recursion that is causing timeout but It does not tell me what is causing the recursion.

    Since it is only happening with auto activation plugin and not on manual activation, It is probably some configuration triggering it. I am not sure what that could be as this is the first report about the issue.

    Do you have a temporary staging site where I can get limited ftp access to the auto activation plugin to debug it?
    Otherwise, we will be issuing the refund within 2-4 working days as the plugin will not be able to serve you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25184

    Hi Rami,
    Thank you.
    It is happening due to a bug in the function

    
    bp_notifications_get_notifications_for_user
    

    in BuddyBoss.

    They need to change this

    	// Calculate a renderable output for each notification type.
    	foreach ( $notifications as $notification_item ) {
    		$renderable = bb_notification_get_renderable_notifications( $notification_item, $format, 'web' );
    	}
    

    to

    
           $renderable = array();
    	// Calculate a renderable output for each notification type.
    	foreach ( $notifications as $notification_item ) {
    		$renderable[] = bb_notification_get_renderable_notifications( $notification_item, $format, 'web' );
    	}
    
    

    Please report it to them.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25184

    Hi Rami,
    Welcome back.

    Thank you for reporting the issue.
    Please allow me 24 hours to put an update.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25184

    Hi Bryan,
    Thank you for sharing the log. I looked through it and It does not have anything related to buddypress. It is probably the log for another site that you manage. Can you please recheck.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25184

    Hi,
    Thank you for the details.

    I am very sorry for your experience. we have never seen this issue before and that’s why we need a bit more help from you.

    Your registration page is correct. Is there any way to get the PHP error log? If you can share the log, It will give me insight into what is happening(just a few lines of log from the time the registration fails).

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25184

    Thank you.
    I can see the issue. I believe it is timing out and caused by a fatal error or a cyclic call or some remote call.

    – It happens when account is activated. That’s why you do not see if you register by disabling this plugin.

    Please help me with the following:-
    – Do you have anything in bp-custom.php?
    – How did you change the fullname field to something else? That is one of the probable cause for error on activation.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25184

    Hi Claire,
    I am sorry, I missed your reply.

    I had added the code to test pagination and limited it to 1 post.

    Please comment this line

    
    $args['posts_per_page'] = 1;
    

    to

    
    // $args['posts_per_page'] = 1;
    

    and that would solve it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25184

    Hi Bryan,

    I just tested with PHP 8.2.29. I did not get any error and the account activation worked.

    can you please provide me more details about your activation settings? I tested while using apache(web server, It should not be an issue).

    PS:- Do you have access to error log? If not, can you please try using a plugin like this
    https://wordpress.org/plugins/error-log-monitor/ temporarily and provide me the error log.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25184

    Hi Bryan,
    Thank you for sharing the details.
    I am looking into it. Please expect a solution within 24 hour(I need to try on 8.2.29 to see the issue, that’s why needing a little extra time).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25184

    Hi Bryan,
    Thank you for using the plugin.

    Can you please tell me if you are using BuddyPress or BuddyBoss and if it is in multisite mode? Also, which version of PHp are you using? The plugin was tested with php 8.1 and latest version of BuddyPress/BuddyBoss. I will look quickly into it after you share the details and assist you.

    Regards
    Brajesh