I haven't figure out what action caused this so this patch is only a temporary fix until the source of the problem can be found.

What's happening is that

$variables['description']

in

_webform_preprocess_form_element_description_more()

is expected to be either NULL or an array but somehow it can be set to an empty string and when that happens the error gets thrown.

It might have something to do with setting the more title or description, saving, and then clearing it and saving again as I remember doing that a couple of times while building my form.

The error reads:
Error: Cannot use string offset as an array in modules/contrib/webform/includes/webform.theme.inc on line 761

Comments

Reg created an issue. See original summary.

reg’s picture

Quick fix, temporary solution only, patch.

reg’s picture

Issue summary: View changes
jrockowitz’s picture

Status: Active » Closed (duplicate)

Thanks for the patch. I just discovered and fixed this issue via #3043490: Fatal error on /form/example-accessibility-labels