Getting fatal error while accessing Module configuration page.

Created on 18 July 2023, over 1 year ago
Updated 2 February 2024, 10 months ago

Problem/Motivation

Getting following error while visiting Module configuration page(admin/config/system/site-status-message).

AssertionError: Cannot load the "node" entity with NULL ID. in assert() (line 261 of /var/www/html/core/lib/Drupal/Core/Entity/EntityStorageBase.php).

Steps to reproduce

  • Enable this module.
  • Go to the Module configuration page(admin/config/system/site-status-message).

Proposed resolution

Add a Check, this $config->get('link') configuration is set or not, Before Loading it with node load function.

🐛 Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

🇮🇳India samit.310@gmail.com

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