Undefined constant "Drupal\hero_block\Plugin\Block\FILE_STATUS_PERMANENT"

Created on 22 February 2024, 10 months ago
Updated 8 May 2024, 8 months ago

Problem/Motivation

The website encountered an unexpected error. Try again later.

Error: Undefined constant "Drupal\hero_block\Plugin\Block\FILE_STATUS_PERMANENT" in Drupal\hero_block\Plugin\Block\HeroBlock->blockSubmit() (line 99 of modules/contrib/hero_block/src/Plugin/Block/HeroBlock.php).

Steps to reproduce

  1. Drupal version 10.2.3
  2. Hero block version 8.x-1.3
  3. Install and enable
  4. Navigate to block type overview page
  5. Add block in region and fill the fields
  6. The errors will be show now

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇳India ravi kant Jaipur

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

Comments & Activities

Production build 0.71.5 2024