Configuring Branch default display throws errors

Created on 5 March 2024, 9 months ago
Updated 9 April 2024, 8 months ago

Problem/Motivation

Visiting /admin/structure/types/manage/branch/display/full/layout to configure the default layout of a Branch errors.

Steps to reproduce

- go to /admin/structure/types/manage/branch/display/full/layout
- Observe error:

AssertionError: Cannot load the "node" entity with NULL ID. in assert() (line 261 of core/lib/Drupal/Core/Entity/EntityStorageBase.php).
Drupal\Core\Entity\EntityStorageBase->load(NULL) (Line: 63)
Drupal\lb_branch_hours_blocks\HoursToday->generateHoursToday(NULL)

Proposed resolution

Check for NULL $nid

πŸ› Bug report
Status

Fixed

Version

1.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States froboy Chicago, IL

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