Skip to:
Content

BuddyPress.org

#8820 closed task (fixed)

PHP8.2 compatibility

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 12.0.0 Priority: high
Severity: normal Version:
Component: Core Keywords: has-patch
Cc:

Description

As reported here https://buddypress.org/support/topic/errors-with-php-8-2-compatibility/ & previously discussed in BP Slack’s channel, we need to work on this.

Change History (8)

This ticket was mentioned in PR #62 on buddypress/buddypress by @imath.


22 months ago
#1

  • Keywords has-patch has-unit-tests added; needs-patch removed

#2 @imath
22 months ago

  • Owner set to imath
  • Resolution set to fixed
  • Status changed from new to closed

In 13414:

Improve PHP 8.2 compatibility

  • Add the #[AllowDynamicProperties] attribute to classes when we add dynamic properties to these into our codebase.
  • Add PHP 8.2 to our PHPUnit testing matrix

Closes https://github.com/buddypress/buddypress/pull/62
Fixes #8820

#3 @imath
22 months ago

  • Keywords needs-patch added; has-patch has-unit-tests removed
  • Resolution fixed deleted
  • Status changed from closed to reopened

Ah! We still have work to perform on this task

#4 @imath
22 months ago

In 13423:

Set the $type property of BP_Groups_Group_Members_Template

See #8820

#5 @imath
20 months ago

In 13453:

Properly declare the BP_Nouveau_Customizer_Group_Nav $group prop

See #8820
See #7018

This ticket was mentioned in PR #162 on buddypress/buddypress by renatonascalves.


15 months ago
#6

  • Keywords has-patch added; needs-patch removed

Getting lots of those warnings in PHP 8.2.

[12-Sep-2023 00:43:21 UTC] PHP Warning:  Object of class stdClass could not be converted to int in /var/www/site/wp-content/plugins/buddypress/src/bp-groups/bp-groups-template.php on line 1272

Trac ticket: https://buddypress.trac.wordpress.org/ticket/8820

#7 @arafatjamil01
14 months ago

I have installed the latest version of BuddyPress plugin from the repository -
https://buddypress.svn.wordpress.org/trunk/

There are not deprecation notices, everything looks fine.

#8 @imath
13 months ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 13650:

Avoid a PHP 8.2 Warning when getting the group URL in Admin list table

Props renatonascalves

Fixes #8820
Closes https://github.com/buddypress/buddypress/pull/162

Note: See TracTickets for help on using tickets.