Error: Call to a member function get() on null in points_entity_presave()

Created on 14 March 2024, 9 months ago
Updated 18 March 2024, 9 months ago

Problem/Motivation

In Drupal 10.2.4, it cannot be used normally and keeps reporting errors after clicking on the save field,

When adding an entity reference field to the user entity, referencing to a point, and saving the field configuration, the following error is displayed:
Error: Call to a member function get() on null in points_entity_presave() (line 114 of modules/contrib/points/points.module).

ypeError: Drupal\inline_entity_form\Plugin\Field\FieldWidget\InlineEntityFormBase::__construct(): Argument #5 ($third_party_settings) must be of type array, null given, called in /www/wwwroot/zst.qiutuo.com.cn/web/modules/contrib/inline_entity_form/src/Plugin/Field/FieldWidget/InlineEntityFormBase.php on line 90 in Drupal\inline_entity_form\Plugin\Field\FieldWidget\InlineEntityFormBase->__construct() (line 77 of modules/contrib/inline_entity_form/src/Plugin/Field/FieldWidget/InlineEntityFormBase.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇨🇳China qiutuo

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

Comments & Activities

Production build 0.71.5 2024