Not working on Drupal 11, paragraphs

Created on 13 January 2025, 11 days ago

Problem/Motivation

Getting a front-end error with JSON request when I try to add new entity of paragraph type containing a field of type icon. This is what I get in error log:
TypeError: Drupal\Core\Extension\ExtensionPathResolver::getPath(): Argument #1 ($type) must be of type string, null given, called in /var/www/html/web/modules/contrib/svg_icon_field/src/StaticIcons.php on line 88 in Drupal\Core\Extension\ExtensionPathResolver->getPath() (line 84 of /var/www/html/web/core/lib/Drupal/Core/Extension/ExtensionPathResolver.php).

Steps to reproduce

1. Create a custom paragraph type
2. Use a field of type icon provided by this module in the paragraph fields.
3. In any content type, add a field of type paragraph, and allow your new custom paragraph type to be referenced.
4. Add a new content of your content type, and try adding paragraph entity of the type you created.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024