Error: Call to a member function setComponent() on null in content_access_by_path_install()

Created on 19 January 2024, 8 months ago
Updated 2 February 2024, 7 months ago

Problem/Motivation

If there is no form display set for the user entity when installing this module, then we get an error. The module installs fine, but the content_access_by_path field will not appear on the user form until you go to 'Manage form display' and set it.

ERROR: Error: Call to a member function setComponent() on null in content_access_by_path_install() (line 21 of /var/www/web/modules/custom/content_access_by_path/content_access_by_path.install)

๐Ÿ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ชIreland markconroy

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