Problem/Motivation

Updating from version 2.2 to 2.3 or to version 3.0 causes an WSD when using drush uli.

The following function called in SnippetAccess.php line 161 does not exist.

$this->moduleHandler->invokeAllWith('hotjar_access', function (callable $hook, string $module) use (&$access)

Steps to reproduce

Update module from 2.2 to 2.3 or 3.0 using composer. Login with drush uli. WSD

Comments

AverilL created an issue. See original summary.

averill’s picture

Issue summary: View changes
afi13’s picture

$this->moduleHandler->invokeAllWith() is supported starting from Drupal 9.4, see the change record for details https://www.drupal.org/node/3000490
The issue has come from the Automatic Drupal 10 fixes https://www.drupal.org/project/hotjar/issues/3297376 where the code was converted

  • tikaszvince committed 0f62f75 on 8.x-3.x
    Issue #3319155 fix core compatibilty in composer and info.yml
    

  • tikaszvince committed 70f9750 on 8.x-2.x
    Issue #3319155 fix core compatibilty in composer and info.yml
    
tikaszvince’s picture

Status: Active » Fixed

Hi @afi13,

I just published new versions with the fixed core compatibilty informations.

2.x will support Drupal ^8.8 || ^9.3
3.x will support ^9.4 || ^10

Status: Fixed » Closed (fixed)

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