Closed (fixed)
Project:
Entity Logger
Version:
1.0.7
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 May 2022 at 08:16 UTC
Updated:
1 Jun 2022 at 07:24 UTC
Jump to comment: Most recent
Right after I enabled this module the whole web page crashed. Unable to do anything, need to the database rollback.
Drupal 9.3.12
PHP 8.1.14
The website encountered an unexpected error. Please try again later.
TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array() (line 67 of modules/entity_logger/src/EntityTypeInfo.php).
Comments
Comment #3
svendecabooterThat's weird - the settings should default to an empty array, as per config/install/entity_logger.settings.yml.
I have added an extra check to avoid this error. Please try with module version 1.0.8, to see if this resolves your issue.