Skip to:

#7800 closed defect (bug) (fixed)

Nouveau: Customizer can throw PHP notices when navigating between pages

Reported by: boonebgorges Owned by: boonebgorges
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Templates Keywords:


Steps to reproduce:

  1. In Customizer, change a setting but do not 'Publish'. (Eg, BuddyPress Nouveau > Group's navigation > Display the Group's...)
  2. In the preview frame, navigate to the Groups directory

At some point in this process, $_POST['customized'] ends up being an array rather than a serialized string, which causes json_decode() to throw a notice. As far as I can tell, it's not BuddyPress doing this, but we should at least check before passing through json_decode().

Change History (1)

#1 @boonebgorges
22 months ago

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

In 12045:

Nouveau: Better type handling for Customizer temporary settings.

Fixes #7800.

Note: See TracTickets for help on using tickets.