[buddypress-trac] [BuddyPress Trac] #9127: Critical error when updating xProfile fields through REST API using PHP 8+

buddypress-trac noreply at wordpress.org
Tue Apr 9 06:19:35 UTC 2024


#9127: Critical error when updating xProfile fields through REST API using PHP 8+
-------------------------------------------------+-------------------------
 Reporter:  niftythree                           |       Owner:
                                                 |  espellcaste
     Type:  defect (bug)                         |      Status:  new
 Priority:  low                                  |   Milestone:  14.0.0
Component:  REST API                             |     Version:  12.4.0
 Severity:  minor                                |  Resolution:
 Keywords:  has-unit-tests needs-testing-info    |
  has-dev-note                                   |
-------------------------------------------------+-------------------------

Comment (by niftythree):

 Hi @espellcaste,

 No problem, thanks for your reply. Sorry, we should have added we're
 trying to update a checkbox, but this also happens for the multi-select
 box too, for example. Updating a text box is OK.

 PHP version: 8.1
 Theme: Twenty Twenty-Four
 BuddyPress Template: Legacy
 Plugins: The only plugins we had running were BuddyPress and JSON Basic
 Authentication (https://github.com/WP-API/Basic-Auth)

 Here's some extra information that could assist with the critical error:
 We tested this in a clean environment, with a new server, new application
 and with the latest WordPress (6.5) and BuddyPress (12.4.0). We created a
 new group and a new field within this group with "Checkboxes" and options
 ordered in Custom, one being "I don't travel often".

 Thanks.

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


More information about the buddypress-trac mailing list