PHP Fatal error When upgrading to Slick 2.10 and Blazy 2.21

Created on 8 November 2023, about 1 year ago

Problem/Motivation

Hi,
I'm "still" in Drupal 8.9.20 and I've upgraded to Slick 2.10 and so Blazy 2.21.
Some pages display WSOD with this error logged :

PHP Fatal error: Cannot make non static method Drupal\blazy\Plugin\Filter\TextFilterBase::getValidNode() static in class Drupal\slick\Plugin\Filter\SlickFilter in /app/web/modules/contrib/slick/src/Plugin/Filter/SlickFilter.php on line 498

Sorry if this issue is a duplicate of another one but I haven't found the solution anywhere.

💬 Support request
Status

Fixed

Version

2.10

Component

Documentation

Created by

🇫🇷France Striknin Lyon

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

Comments & Activities

  • Issue created by @Striknin
  • Status changed to Fixed about 1 year ago
  • 🇮🇩Indonesia gausarts

    Most, not all, fatal errors or WSOD during updates are easily fixed:
    https://www.drupal.org/project/blazy#blazy-sop

    You will have this issue one way or another during Drupal dev cycle. Knowing how to solve this very basic issue is crucial. You won't complain about updates anymore once it is your natural workflow.

    Shortly:
    1. Always run drush cr, or clear cache, before drush updb or / update.php, immediately after composer update.
    2. Blazy sub-modules must also be updated to their latest. Check out their project home date releases.

    Thank you.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024