TypeError: round(): Argument #1 ($num) must be of type int|float, string given in round()

Created on 20 June 2024, 7 months ago
Updated 3 July 2024, 7 months ago

Problem/Motivation

While working with the Translation Management Tool module on Drupal 10.2, I encountered the following error while reviewing translation:
TypeError: round(): Argument #1 ($num) must be of type int|float, string given in round() (line 114 of core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Postponed: needs info

Version

11.0 🔥

Component
Field 

Last updated 1 day ago

Created by

🇮🇳India manthan.chauhan

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

Comments & Activities

Production build 0.71.5 2024