Configuring Branch default display throws errors

Created on 5 March 2024, 4 months ago
Updated 9 April 2024, 3 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.69.0 2024