Getting error on visiting content type's Manage Form Display page

Created on 11 April 2023, about 1 year ago
Updated 25 April 2023, about 1 year ago

Problem/Motivation

Getting below error when there is not added any paragraph in the site on visiting content type's Manage Form Display page

Error: Call to a member function id() on null in Drupal\paragraph_view_mode\Plugin\Field\FieldWidget\ParagraphViewModeWidget->getViewModesFieldDescription() (line 294 of /var/www/html/web/modules/contrib/paragraph_view_mode/src/Plugin/Field/FieldWidget/ParagraphViewModeWidget.php)

Steps to reproduce

  1. Install Paragraph View Mode and Paragraphs module.
  2. Go to Paragraphs Type Page at /admin/structure/paragraphs_type and verify that there are not added any paragrphs.
  3. Visit any content type's Manage Form Display page. (i.e. /admin/structure/types/manage/article/form-display)
  4. It will throw website encountered error.
๐Ÿ› Bug report
Status

Fixed

Version

3.1

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia Binoli Lalani Gujarat

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

Comments & Activities

Production build 0.69.0 2024