Unexpected error on installing Block Visibility Conditions Node sub module

Created on 7 February 2023, almost 2 years ago
Updated 9 February 2023, almost 2 years ago

Problem/Motivation

Installing just Block Visibility Conditions Node (block_visibility_conditions_node) module causes 'an unexpected error' on the block configuration screen. The error goes away on installing block_visibility_conditions along with block_visibility_conditions_node.

The website encountered an unexpected error. Please try again later.
Error: Class "Drupal\block_visibility_conditions\Plugin\Condition\NotConditionPluginBase" not found in include() (line 20 of modules/block_visibility_conditions/modules/block_visibility_conditions_node/src/Plugin/Condition/NotNodeType.php).

Proposed resolution

Force a dependency of block_visibility_conditions on block_visibility_conditions_node.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India khanz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024