InvalidArgumentException: Invalid weight unit "" provided. in Drupal\css_size_field\SizeUnit::assertExists()..

Created on 25 March 2025, 25 days ago

Problem/Motivation

When I try to add a CSS Size field in a content type, it shows an error.

Steps to reproduce

1: Install the "Css size field" using the following command:
composer require 'drupal/css_size_field:^1.0@beta'

2: Add a CSS Sixe field to any content type.

3: The following error appears:

InvalidArgumentException: Invalid weight unit "" provided. in Drupal\css_size_field\SizeUnit::assertExists() (line 62 of modules\contrib\css_size_field\src\SizeUnit.php).

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India aman_lnwebworks

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

Comments & Activities

Production build 0.71.5 2024