Title: error message Creating default object from empty value in …
Last modified: August 4, 2022

---

# error message Creating default object from empty value in …

 *  [webmark487](https://wordpress.org/support/users/webmark487/)
 * (@webmark487)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-message-creating-default-object-from-empty-value-in/)
 * Hi!
 * I get the following error message on [https://greenfilmnet.org](https://greenfilmnet.org)(**
   only when logged in**!):
 * `Warning: Creating default object from empty value in /home/.sites/838/site2533937/
   web/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-group.
   php on line 771`
 * … and then, when I submit a search, I get the same error message again on [https://www.greenfilmnet.org/members/](https://www.greenfilmnet.org/members/),
   and there is just empty content (no search result).
 * Any idea what the problem could be?
 * ONCE MORE: HAPPENS ONLY WHEN LOGGED IN!
 * Best regards and thank you in advance
    Markus
 * WordPress 6.0.1
 * BP Profile Search
 * Version 5.4.6
    Platform BuddyPress 10.3.0 Theme Aardvark Child 1.0 Members index
   template /plugins/buddypress/bp-templates/bp-legacy/buddypress/members/index.
   php Members loop template /themes/aardvark/buddypress/members/members-loop.php
   Form template(s) /themes/aardvark/buddypress/members/bps-form-default.php
    -  This topic was modified 3 years, 10 months ago by [webmark487](https://wordpress.org/support/users/webmark487/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-message-creating-default-object-from-empty-value-in%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-message-creating-default-object-from-empty-value-in/#post-15890502)
 * Hi Markus,
 * I’m unable to replicate this issue.
 * Could you temporarily switch to one of the default themes (e.g. Twenty Twenty-
   Two) and see if your site works properly with PHP 8.0?

Viewing 1 replies (of 1 total)

The topic ‘error message Creating default object from empty value in …’ is closed
to new replies.

 * ![](https://ps.w.org/bp-profile-search/assets/icon.svg?rev=1568973)
 * [BP Profile Search](https://wordpress.org/plugins/bp-profile-search/)
 * [Support Threads](https://wordpress.org/support/plugin/bp-profile-search/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-profile-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-profile-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-profile-search/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/error-message-creating-default-object-from-empty-value-in/#post-15890502)
 * Status: not resolved