Configuring Branch display throws errors

Created on 5 March 2024, about 1 year ago
Updated 29 March 2024, about 1 year ago

Problem/Motivation

/admin/structure/types/manage/branch/display/full/layout throws an error

Steps to reproduce

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

Warning: Attempt to read property "layout_entity_id" on bool in lb_branch_amenities_blocks_preprocess_block__lb_branch_amenities_blocks() (line 40 of modules/contrib/lb_branch_amenities_blocks/lb_branch_amenities_blocks.module).
lb_branch_amenities_blocks_preprocess_block__lb_branch_amenities_blocks(Array, 'block', Array)
call_user_func_array('lb_branch_amenities_blocks_preprocess_block__lb_branch_amenities_blocks', Array) (Line: 285)

Proposed resolution

check that the value exists

πŸ› Bug report
Status

Fixed

Version

1.0

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