BuddyDev

Search

[Resolved] BuddyPress Friends Suggestions Pro Error

  • Participant
    Level: Enlightened
    Posts: 25
    Tiffany Phillips on #36595

    Hi,

    I am using the BuddyPress Friends Suggestions Pro plugin with the BuddyBoss theme and the following error keeps appearing, what does it mean and can i fix it?

    warning: trim() expects parameter 1 to be string, array given in /home3/stylefi5/public_html/thefixxsquad/wp-content/plugins/buddyboss-platform/bp-xprofile/classes/class-bp-xprofile-query.php on line 452

    Thank you

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2935
    Ravi on #36600

    Hello Tiffany,

    Sorry for the inconvenience. Please try deactivating “BuddyPress Friends Suggestions Pro” temporarily and check if this warning still appears or not.

    Regards
    Ravi

    • This reply was modified 3 years, 1 month ago by Ravi.
  • Participant
    Level: Enlightened
    Posts: 25
    Tiffany Phillips on #36606

    I deactivated the plugin and it disappeared but when its on it keeps appearing and disappearing randomly

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2935
    Ravi on #36607

    Hello Tiffany,

    If possible please share the screenshot of your suggestion rule conditions you are using for generation friend’s suggestions. It will help to debug further into the issue.

    Regards
    Ravi

  • Participant
    Level: Enlightened
    Posts: 25
    Tiffany Phillips on #36608

    I can’t see an option to upload the screenshot…

    Matching Rules
    Setup rules for showing the friend suggestions.

    Logged In User Profile Field
    Operator
    Matched User Profile Field
    Action

    Position

    Like

    Position
    Delete

    Industry

    Like

    Industry
    Delete

    Industry Interests

    Like

    Industry Interests
    Delete

    Brand Preferences

    Like

    Brand Preferences
    Delete
    Add

    Suggestion rules criteria
    Match Type
    Show users who match any of the rule

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2935
    Ravi on #36609

    Hello Tiffany,

    Thank you for sharing the details. But I need some more information regarding field types. It quite possible that multicheck, member-type like fields can conflict.

    Please do let me know the field type of the following field.
    1. Position
    2. Industry
    3. Industry Interests
    4. Brand Preferences

    Regards
    Ravi

  • Participant
    Level: Enlightened
    Posts: 25
    Tiffany Phillips on #36611

    Hi Ravi,

    All field types are checkboxes

  • Participant
    Level: Enlightened
    Posts: 25
    Tiffany Phillips on #36616

    Just to let you know, I am getting the same error for the BuddyPress Featured Members plugin. I can create a new thread for that but could it be the same problem?

  • Participant
    Level: Enlightened
    Posts: 25
    Tiffany Phillips on #36617
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #36628

    Hi Tiffany,
    Please use the “IN” operator instead of Like for the Checkbox/Radio/select/Multiselect field types. It seems using the Like is causing the issue.

    Please check bu updating the operator.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved