Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Problem/Motivation
An error is triggered in the glossify uninstall hook:
Call to a member function removeInstanceId() on null
which is caused by the FilterFormat::removeFilter()
method being called without the filter collection being instantiated in the object:
Proposed resolution
Instantiate the filter collection by calling FilterFormat::filters()
prior to removing the glossify filters.
Issue fork glossify-3244714
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 #3
sanduhrsThe hook_uninstall has been removed in 8.x-1.x-dev