Webform update to 6.2.x gives Error

Created on 11 July 2023, 12 months ago
Updated 28 August 2023, 10 months ago

When you try to add a field to a Webform, the Error message "Oops, something went wrong. Check your browser's developer console for more details." appears.

This points to An AJAX HTTP Fatal error: Access level to WebformOfficeHours::getItems() must be protected (as in class Drupal\\webform\\Plugin\\WebformElementBase) or weaker"

The getItems() function in WebformOfficeHours conflicts with the getItems() function of WebformElementBase.
Rename getItems() to getItemsList().

πŸ› Bug report
Status

Fixed

Version

1.11

Component

Code

Created by

πŸ‡«πŸ‡·France paul_serval

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

Comments & Activities

Production build 0.69.0 2024