You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently also use <BaseControl />, is there a default way to display errors for these control components? Should we add a <Notice status="error">An unknown error occurred.</Notice> when field.error is set? Is field.error a common property for field errors?
I just came across a broken block editor (Classic block) because a fatal error occurred during JSON serialization of a field.
wp-pay-core/src/Fields/SelectField.php
Lines 100 to 112 in 7baee62
The gateway configuration had invalid credentials and the option were retrieved through a
IDealIssuerSelectField
class.The issue was triggered from WooCommerce via the JSON encode of
$this->data
in https://github.com/woocommerce/woocommerce-blocks/blob/2ff8573d5426ebee180e50539f113c211362d1b9/src/Assets/AssetDataRegistry.php#L348-L373Internal Help Scout ticket: https://secure.helpscout.net/conversation/2036688566/24611
The text was updated successfully, but these errors were encountered: