BuddyDev

Search

Buddypress profile page give 404 error page when accessed by non-logged in user.

Tagged: 

  • Participant
    Level: Initiated
    Posts: 17
    Jigar Prajapati on #9629
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 17
    Jigar Prajapati on #9630
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24583
    Brajesh Singh on #9631

    Thank you.
    Well, You should have mentioned that you were using our Conditional field plugin too. It is throwing error I can see that.

    Please allow me today to put an update for the conditional field plugin to fix it.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 17
    Jigar Prajapati on #9632
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 17
    Jigar Prajapati on #9660

    Hello Brajesh,

    Please let me know if you had got time to work on the issue so that I can update the plugin with fixes.

    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24583
    Brajesh Singh on #9681

    Hi Jigar,
    I am sorry but I am not able to recreate it. Here is what I am guessing is wrong with the conditional profile field plugin

    There is a function called build_conditions() in the main file.

    You will see some code there like this

    
    		$groups = BP_XProfile_Group::get(
    					array(
    						'fetch_fields' => true,
     					)
    				);
    
    

    Can you please change that to

    
    		$groups = BP_XProfile_Group::get(
    					array(
    						'fetch_fields' => true,
                            'user_id'   => bp_is_my_profile() ? bp_displayed_user_id() : 0,
    					)
    				);
    
    

    and try clearing your browser cache and checking again. Does it work. It should most probably.

  • Participant
    Level: Initiated
    Posts: 17
    Jigar Prajapati on #9684

    Hi Brajesh,

    Thanks for the updates. I will try this morning and update you.

  • Participant
    Level: Initiated
    Posts: 17
    Jigar Prajapati on #9688

    Hi Brajesh,

    The given solution does not resolved the issue for me.

  • Keymaster
    (BuddyDev Team)
    Posts: 24583
    Brajesh Singh on #9697

    Hi Jigar,
    The problem is originating from Conditional profile fields plugin.

    Please add me to the site as a temporary admin and allow me to edit code. I will try updating plugin there. We need to somehow stop it from fetching details of the displayed user on user pages.

  • Participant
    Level: Initiated
    Posts: 17
    Jigar Prajapati on #9757
    This reply has been marked as private.

You must be logged in to reply to this topic.

This topic is: not resolved