WSOD when creating a webform page

Created on 15 November 2023, 8 months ago
Updated 14 December 2023, 7 months ago

Problem/Motivation

After attaching a webform entity to a Webform page, I get WSOD with the following error:

TypeError: civictheme_get_field_theme_value(): Argument #1 ($entity) must be of type Drupal\Core\Entity\FieldableEntityInterface, null given, called in /app/web/themes/custom/civictheme/includes/form.inc on line 89 in civictheme_get_field_theme_value() (line 450 of themes/custom/civictheme/includes/utilities.inc).

Steps to reproduce

1. Create a webform

2. Create a webform page

3. Attach webform from step 1 to the webform page and Save.

using CivicTheme 1.5.1

Temporary dirty workaround (for now): comment line 20 in civictheme/includes/form.inc

πŸ› Bug report
Status

Fixed

Version

1.6

Component

Code

Created by

πŸ‡ΉπŸ‡ΉTrinidad and Tobago xamount

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

Comments & Activities

Production build 0.69.0 2024