I'm creating a custom form. If I use a checkbox field, I get the following error upon saving or updating (but it does appear to take the change.) I experienced this error with the parent theme and a child theme for Vantage.
Warning: Illegal string offset 'checkbox' in /home/site2/public_html/wp-content/themes/vantage-child/includes/custom-forms/form-builder.php on line 141
Warning: Cannot modify header information - headers already sent by (output started at /home/site2/public_html/wp-content/themes/vantage-child2/includes/custom-forms/form-builder.php:141) in /home/site2/public_html/wp-includes/pluggable.php on line 896
In addition to the errors listed, the checkbox field does not display well in the new listing edit page. The boxes are listed next to each other and wrapping vs. in a single column like categories do, and the label doesn't look like the others (see attached image). Anyone else experience this or know the fix for the error in code AND the odd label formatting and stacked options? Thanks!