[buddypress-trac] [BuddyPress Trac] #8702: php 8.0 warnings

buddypress-trac noreply at wordpress.org
Tue May 24 07:37:53 UTC 2022


#8702: php 8.0 warnings
-------------------------------------+------------------------------
 Reporter:  webmasterfreya           |       Owner:  (none)
     Type:  defect (bug)             |      Status:  reopened
 Priority:  low                      |   Milestone:  Awaiting Review
Component:  Core                     |     Version:  10.2.0
 Severity:  minor                    |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |
-------------------------------------+------------------------------

Comment (by webmasterfreya):

 I took a peek into the table wp_bp_invitations.
 There are 53 rows from wich 46 are of non existent users and 7 existent
 users. Looks like removing users does not clean up this table.

 class-buddypress.php 538 is intriging :
                 // Maybe load deprecated functionality (this double
 negative is proof positive!).
                 if ( ! bp_get_option( '_bp_ignore_deprecated_code', !
 $this->load_deprecated ) ) {

 bp-core-options.php 98
                 // Ignore deprecated code.
                 '_bp_ignore_deprecated_code'           => **true**,

 bp-core-update.php 575 [function bp_update_to_2_7() {}]
         // Do not ignore deprecated code for existing installs.
         bp_add_option( '_bp_ignore_deprecated_code', **false** );

 Maybe this helps ?

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8702#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list