BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on #55737

    Thank you Alex.

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on #55736

    Hi Rami,
    The count should always be 1 if you do that.

    The problem is with the intent of the function. It is supposed to return an array of notification objects or rendered notification strings.They have too many bugs in that implementation. If it is a conscious decision to not fix bug, it is their call.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on #55734

    Hi Rami,
    Thank you for the reply.

    That would be incorrect solution. It won’t be showing the count correctly.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on #55730

    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: 25130
    Brajesh Singh on #55729

    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: 25130
    Brajesh Singh on #55716

    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: 25130
    Brajesh Singh on #55711

    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: 25130
    Brajesh Singh on #55709

    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: 25130
    Brajesh Singh on #55706

    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: 25130
    Brajesh Singh on #55704

    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