Fatal error: Declaration of toArray method, request is missing

Created on 23 August 2024, 24 days ago
Updated 11 September 2024, 5 days ago

Problem/Motivation

Fatal error: Declaration of Drupal\webform_headless\Plugin\WebformJsonSchema\JsonForms::toArray(Drupal\webform\WebformInterface $webform): array must be compatible with Drupal\webform_headless\Plugin\WebformJsonSchema\WebformJsonSchemaBase::toArray(Drupal\webform\WebformInterface $webform, Symfony\Component\HttpFoundation\Request $request): array in /var/www/html/web/modules/contrib/webform_headless/src/Plugin/WebformJsonSchema/JsonForms.php on line 44

Steps to reproduce

Visit Drupal Webform route
/form/contact/json/schema?schema=json_forms

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jmolivas El Centro, CA

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024