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
- This topic was modified 3 years, 9 months ago by Tiffany Phillips.
I deactivated the plugin and it disappeared but when its on it keeps appearing and disappearing randomly
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
ActionPosition
Like
Position
DeleteIndustry
Like
Industry
DeleteIndustry Interests
Like
Industry Interests
DeleteBrand Preferences
Like
Brand Preferences
Delete
AddSuggestion rules criteria
Match Type
Show users who match any of the ruleHello 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 PreferencesRegards
RaviJust 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?
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.