TimeZoneFormHelper Not Found

Created on 19 July 2024, about 2 months ago
Updated 3 August 2024, about 1 month ago

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

πŸ’¬ Support request
Status

Fixed

Version

6.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ryankavalsky

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024