Webform update to 6.2.x gives Error

Created on 11 July 2023, over 1 year ago
Updated 28 August 2023, over 1 year 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.71.5 2024