Not OP, but we ran into this problem with Webform 7.x-4.26. The issue happens if you're running any PHP version below 7.0 due to the null coalescing operator (aka ?? operator) being introduced on this line:
https://git.drupalcode.org/project/webform/-/blob/7.x-4.x/components/tim...
This change was introduced in https://www.drupal.org/project/webform/issues/2666088 🐛 Handle undefined date/time components Fixed
There is, however, a changelog note for 7.x-4.26 that mentions PHP 8.0 is required ( https://www.drupal.org/project/webform/releases/7.x-4.26 → ). However it's a little funny given that same version introduces fixes for PHP versions below 5.6.
@Mingsong
Any movement on releasing the 6.x branch? The accessibility issues with the Fullcalendar v3 library currently used by the module are quite significant.
Ran into this issue with Drupal 9.5.x and Webform 6.1.3. After further digging it turned out that the form was configured to send emails and was pulling the "From name" from the text field with the comma.
Example of user input in the text field: "Abc,abc"
Error encountered in logs for reference:
Uncaught PHP Exception Drupal\Core\Entity\EntityStorageException: "Email ""Abc" does not comply with addr-spec of RFC 2822." at /docroot/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php line 815
How to reproduce
There's another issue with full steps on how to reproduce this here:
https://www.drupal.org/project/webform/issues/3223017
🐛
Drupal\Core\Entity\EntityStorageException: Email does not comply with addr-spec of RFC 2822.
Closed: outdated
Unfortunately it was marked as closed, but was never actually fixed. Figured I'd add a comment here in case anyone else Googles this issue.