Error: Typed static property Drupal\url_text\Plugin\Field\FieldWidget\UrlTextfieldWidget::$schemes must not be accessed before initialization in ......

Created on 29 March 2024, 7 months ago

I encounter an error when I try adding a new content type.

Steps Reproduce:

1. Installed the module using Composer with the command: composer require 'drupal/url_text:^1.0'.

2: Add a URL field with unlimited type in the content type.

3: Add new content that contains the URL field, and also added 2 - 3 URL inside this, when you try to save this content it throws an error, the error mentioned below.

Error: Typed static property Drupal\url_text\Plugin\Field\FieldWidget\UrlTextfieldWidget::$schemes must not be accessed before initialization in Drupal\url_text\Plugin\Field\FieldWidget\UrlTextfieldWidget::validate() (line 101 of modules\contrib\url_text\src\Plugin\Field\FieldWidget\UrlTextfieldWidget.php).

I've attached an image illustrating my actions—installing the module and searching within the extended panel.

🐛 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

Merge Requests

Comments & Activities

Production build 0.71.5 2024