I am encountering an issue when trying to configure this module.

Steps Reproduce:

1. Installed the enabled module using Composer with the command: composer require 'drupal/view_mode_by_owner_role:1.0.x-dev@dev'.

2: When trying to configure this module (/admin/config/system/view_mode_by_owner_role/view-mode-settings), it throws an error mentioned below.

Warning: Trying to access array offset on value of type null in Drupal\view_mode_by_owner_role\Form\SettingsViewModeMapForm->buildForm() (line 53 of modules\contrib\view_mode_by_owner_role\src\Form\SettingsViewModeMapForm.php).

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

CommentFileSizeAuthor
view mode.png104.35 KBaman_lnwebworks
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

aman_lnwebworks created an issue. See original summary.

aman_lnwebworks’s picture

Hi @oskar_calvo @psf_

I have created MR!2 for the above issue,

Please review it once.

Thank you

oskar_calvo’s picture

oskar_calvo’s picture

Status: Active » Fixed
oskar_calvo’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.