Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
I tried to update from 6.0.5 to 6.1.0 and when I run update.php, the following error is returned:
Failed:
Drupal\Component\Serialization\Exception\InvalidDataTypeException: Unable to parse at line 52 (near ""yes_key: 'Yes"'"). in Drupal\Component\Serialization\YamlSymfony::decode() (line 40 of /code/core/lib/Drupal/Component/Serialization/YamlSymfony.php).
Proposed resolution
Any ideas on how to get the update to work?
Issue fork webform-3251591
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
scampbell1 CreditAttribution: scampbell1 as a volunteer and commentedComment #3
cilefen CreditAttribution: cilefen as a volunteer commentedA form with that question has invalid YAML syntax.
Comment #5
jrockowitz CreditAttribution: jrockowitz as a volunteer and at Webform module Open Collective, The Big Blue House commentedComment #7
jrockowitz CreditAttribution: jrockowitz as a volunteer and at Webform module Open Collective, The Big Blue House commentedInstead of throwing a fatal error, I think it is safer to display a notice.
Comment #9
jrockowitz CreditAttribution: jrockowitz as a volunteer and at Webform module Open Collective, The Big Blue House commented