Boolean passed as argument instead of AccessResultInterface in SnippetAccess which results in site failure.
Error message "TypeError: Argument 1 passed to Drupal\Core\Access\AccessResult::andIf() must implement interface Drupal\Core\Access\AccessResultInterface, boolean given, called in /var/www/html/web/modules/contrib/hotjar/src/SnippetAccess.php on line 158 in Drupal\Core\Access\AccessResult->andIf() (line 375 of core/lib/Drupal/Core/Access/AccessResult.php)."
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | hotjar--boolean-passed-as-argument-in-snippetaccess--3035425.patch | 786 bytes | cbstuart |
Comments
Comment #2
cbstuart commentedComment #5
tikaszvince commentedHi @CbStuart,
Thank you for your contribution. New release contains your work.
Comment #6
cbstuart commentedHey, just noticed you changed the version to D7. When picking a version I couldn't find 8x-1.3 maybe you can change it over to that?
Comment #7
tikaszvince commentedChange it D8. (Sorry, I don't understand what happened)
Thanks again