Problem/Motivation
The following error appears in our logs:
Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\glossify\GlossifyBase->parseTooltipMatch() (Line 153 in /src/GlossifyBase.php)
this should be fixed.
Steps to reproduce
Proposed resolution
Fix the issue.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork glossify-3523609
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
anybodyThanks, yes should be investigated and fixed, please.
Comment #3
grevil commentedThis shouldn't happen. "ignore_tags" has their default setting defined in the Doctrine Annotation above each filter plugin. So "ignore_tags" should always resolve at least to an empty string, not NULL. Maybe a simple clear all caches will fix the issue?
There is no need for an update hook, since this is a plugin. Filters never implement "defaultConfiguration()" for some reason. Not here nor in core. They are always defined in the doctrine annotation / PHP Attributes.
Comment #5
grevil commentedTalked with @anybody internally. Not really worth taking a deeper look at this.