Undefined variable $ignore_tags in Drupal\glossify\GlossifyBase->parseTooltipMatch()

Created on 29 July 2025, 11 days ago

Problem/Motivation

Under php 8.3 the following Warning is shown:

Warning: Undefined variable $ignore_tags in Drupal\glossify\GlossifyBase->parseTooltipMatch() (line 151 of modules/contrib/glossify/src/GlossifyBase.php).

Drupal\glossify\GlossifyBase->parseTooltipMatch() (Line: 258)
Drupal\glossify_taxonomy\Plugin\Filter\TaxonomyTooltip->process() (Line: 123)
Drupal\filter\Element\ProcessedText::preRenderText()
call_user_func_array() (Line: 113)
Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 886)
Drupal\Core\Render\Renderer->doCallback() (Line: 431)
Drupal\Core\Render\Renderer->doRender() (Line: 248)
Drupal\Core\Render\Renderer->render() (Line: 484)
Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 231)
...

Proposed resolution

It looks like the whole code is simply an artefact from en earlyer version. It can be removed I'd say.

๐Ÿ› Bug report
Status

Active

Version

3.1

Component

Code

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany Schoenef Unna

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

Comments & Activities

Production build 0.71.5 2024