Can not add element to webform

Created on 11 November 2023, about 1 year ago
Updated 28 February 2024, 10 months ago

Problem/Motivation

TypeError: function_exists(): Argument #1 ($function) must be of type string, array given in function_exists() (line 183 of modules/contrib/calendar_systems/src/Element/CalendarSystemsDateTime.php)

Steps to reproduce

drupal = 9.5.11

webform

calendar_systems = 8.x-3.6

when you want to add element by "Add element" button. we encountered this error.

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇮🇷Iran sgarsivaz

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

Comments & Activities

  • Issue created by @sgarsivaz
  • 🇮🇷Iran amir jamshidi

    hi. I use Drupal 10.2.3 , calendar_systems Version: 4.0.2 and webform 6.2.2 but get this error in webform add element

    TypeError: function_exists(): Argument #1 ($function) must be of type string, array given in function_exists() (line 178 of /modules/contrib/calendar_systems/src/Element/CalendarSystemsDateTime.php).

  • 🇮🇷Iran arefen

    Thanks, Amir
    your solution works for me

Production build 0.71.5 2024