Error: Call to a member function getRegion() on null in belgrade_theme_suggestions_block_alter()

Created on 26 February 2024, 10 months ago
Updated 14 August 2024, 4 months ago

Problem/Motivation

When Belgrade is enabled and I move to a page with a fixed block, I get this error:
Error: Call to a member function getRegion() on null in belgrade_theme_suggestions_block_alter() (line 15 of themes/contrib/belgrade/includes/block.inc).

Proposed resolution

  • check if block and region exists.
🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany onfire84

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