#8503 closed defect (bug) (fixed)
PHP8 multi-byte safety warning
Reported by: | ionvv | Owned by: | imath |
---|---|---|---|
Milestone: | 9.0.0 | Priority: | normal |
Severity: | normal | Version: | 8.0.0 |
Component: | Extended Profile | Keywords: | has-patch |
Cc: |
Description
When using BP 8.0.0 with PHP8 and calling bp_xprofile_get_hidden_fields_for_user( $user->ID )
a warning will be raised: Warning: Only the first byte will be assigned to the string offset in /var/www/html/domain.tld/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php #1315
Attachments (2)
Change History (8)
#2
@
3 years ago
I have also noticed this issue earlier https://buddypress.org/support/topic/buddypress-8-0-0-release-candidate/#post-319037
#3
@
3 years ago
- Keywords has-patch added
- Milestone changed from Awaiting Review to 8.1.0
Thanks a lot @johnjamesjacoby for the patch and sorry @vapvarun i missed it earlier. I'm going to test it asap.
Note: See
TracTickets for help on using
tickets.
Thanks a lot for your report. We’ll check this issue asap.