$field->addMessage('message', ['message'=>'this is the message']); results in an error. The field group is located in a custom gutenberg block. The gutenberg block can't load the acf fields - ajax request results in a 500 error.
Error message: "preg_match_all() expects parameter 2 to be string, array given"
file: "/wp/wp-includes/formatting.php", … }
$field->addMessage('message', ['message'=>'this is the message']);
results in an error. The field group is located in a custom gutenberg block. The gutenberg block can't load the acf fields - ajax request results in a 500 error.Error message: "preg_match_all() expects parameter 2 to be string, array given" file: "/wp/wp-includes/formatting.php", … }