Saving new log entity throws EntityStorageException

Created on 3 February 2023, almost 2 years ago

Problem/Motivation

Saving a new log entity throws "Error: Call to a member function getFieldStorageDefinition() on null in Drupal\Core\Entity\ContentEntityBase->getEntityKey()".

Debugger shows this is thrown on the "name" key.

Steps to reproduce

I am using Drupal 9.4.8
1. Install the module and its submodule, Login Attempt Event.
2. Attempt to log in to the site and the exception is thrown.

Proposed resolution

Remove offending key from entity definition.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States acy76

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

Comments & Activities

Production build 0.71.5 2024