Closed (fixed)
Project:
Webform
Version:
6.2.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2024 at 16:12 UTC
Updated:
3 Aug 2024 at 00:59 UTC
Jump to comment: Most recent
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)
Comments
Comment #2
liam morlandThis 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.
Comment #3
ryankavalsky commentedThank you! I'll give this a try the next chance I get.