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

Created on 14 June 2024, 4 months ago

Problem/Motivation

If this helps someone... I was getting this error when filtering on a numeric field:
TypeError: round(): Argument #1 ($num) must be of type int|float, string given in round() (line 173 of core/modules/views/src/Plugin/views/field/NumericField.php).

The patch here resolved the issue:
https://www.drupal.org/project/drupal/issues/3350873 πŸ› TypeError: number_format(): Argument #1 ($num) must be of type float, string given in number_format() Postponed: needs info

πŸ’¬ Support request
Status

Active

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States boinkster

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

Comments & Activities

Production build 0.71.5 2024