- Merge request !13Issue #3550468: Fixing parse issue for language other than default. → (Open) created by arpitk
WSOD on a multi-lingual website on webform submission with error Backtrace:
#0 /var/www/html/web/core/lib/Drupal/Component/Serialization/Yaml.php(39): Symfony\Component\Yaml\Parser->parse(NULL, 514)
#1 /var/www/html/web/modules/contrib/webform_mailchimp/src/Plugin/WebformHandler/WebformMailChimpHandler.php(273): Drupal\Component\Serialization\Yaml::decode(NULL)
#2 /var/www/html/web/modules/contrib/webform/src/Entity/Webform.php(2758):
Drupal version. 10.5.3
webform_mailchimp 8.5.11
Set up a multilingual site.
1. Create a web form.
2. Switch to another site language other than the default.
3. Submit the form through an error.
Lets use the WebformYaml::decode available with the Webform module, which can handle the empty values condition already.
Active
5.11
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.