Page goes blank after submitting a webform with nif field filled with text

Created on 22 November 2024, 2 months ago

Problem/Motivation

Page goes blank after submitting a webform with nif field filled with text.

Steps to reproduce

Create a Webform, add nif field, press "Test" tab to fill all fields automatically (nif field will be filled with only text) and press submit button.

Error:

TypeError: Unsupported operand types: string + string in Drupal\field_nif_nie_cif\Helper\IdentificationHelper::getCifSum() (line 96 of /var/www/website/web/modules/contrib/field_nif_nie_cif/src/Helper/IdentificationHelper.php).

(PHP 8.3, Drupal 10.3.9, Webform 6.2.7)

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇪🇸Spain qpro Spain

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