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

Comments

xamount created an issue. See original summary.

alex.skrypnyk’s picture

Status: Active » Postponed (maintainer needs more info)

@xamount

Could you please replicate this with version 1.6

xamount’s picture

Version: 1.5.1 » 1.6.0
Status: Postponed (maintainer needs more info) » Active

I have replicated it with 1.6.0. Setting status back to active.

alex.skrypnyk’s picture

Version: 1.6.0 » 1.6.1
Status: Active » Fixed

Fixed in 1.6.1

kristen pol’s picture

Crediting work.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.