php8 error

BP Profile Search php8 error

  • Author
    Post
  • #12065 Reply
    Martin
    Guest

    Dear Andrea,

    I’m looking for an assitance after upgrading to php8+ version, I’m receiving a following error after the member search is submitted. I tried investigating but without success. When I revert back to php7.4 all is working fine. Classic buddypress member showcase works fine (no error message displayed) but when I perform a search with specified criteria, I receive the error message. Could you please help?

    Warning: Undefined property: stdClass::$user_status in /data/c/3/c389240a-9c4f-4eb3-a7ef-934dfe5f2c09/tantralovers.org/web/wp-content/plugins/buddypress/bp-core/classes/class-bp-user-query.php on line 616

    Thank you,

    Martin

    #12066 Reply
    andrea
    Plugin Author

    Hi Martin,

    Could you try, on your testing site, deactivating all your plugins except BuddyPress and BP Profile Search, renaming the bp-custom.php file if you have one, and see if the warning goes away?

Reply to: php8 error
My Information