Problem/Motivation

After updating to Webform 6.2.4 or 6.2.5 on Drupal 9.5.11, I get the following error. I went back to Webform 6.2.3, and everything seems to be working fine.

The website encountered an unexpected error. Please try again later.
Error: Class "Drupal\Core\Datetime\TimeZoneFormHelper" not found in webform_webform_options_time_zones_alter() (line 40 of modules/contrib/webform/includes/webform.options.inc).
webform_webform_options_time_zones_alter(Array, Array, NULL) (Line: 562)
Drupal\Core\Extension\ModuleHandler->alter('webform_options_time_zones', Array, Array) (Line: 248)
Drupal\webform\Entity\WebformOptions::getElementOptions(Array) (Line: 679)
Drupal\webform\Plugin\WebformElementBase->initialize(Array) (Line: 1745)
Drupal\webform\Entity\Webform->initElementsRecursive(Array, 'regional_settings', 1) (Line: 1839)
Drupal\webform\Entity\Webform->initElementsRecursive(Array) (Line: 1517)
Drupal\webform\Entity\Webform->initElements() (Line: 1301)
Drupal\webform\Entity\Webform->getElementsInitializedAndFlattened() (Line: 215)
Drupal\webform_views\WebformSubmissionViewsData->getViewsData() (Line: 180)
views_views_data() (Line: 236)
Drupal\views\ViewsData->Drupal\views\{closure}(Object, 'views') (Line: 405)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('views_data', Object) (Line: 244)
Drupal\views\ViewsData->getData() (Line: 154)
Drupal\views\ViewsData->get('block_content') (Line: 94)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

ryankavalsky created an issue. See original summary.

liam morland’s picture

Category: Bug report » Support request
Status: Needs work » Fixed

This has been fixed by #3461785: Make releases to fix version compatibility inconsistency. You may update to 6.2.6. That is your last release until you update to Drupal 10.1 or greater.

ryankavalsky’s picture

Thank you! I'll give this a try the next chance I get.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.