Can't resolve (correct amount of) images of an entity

Created on 5 April 2023, about 1 year ago

Problem/Motivation

Mirador display only one image connected to an entity and when entering the Edit mode, two warnings are thrown:
Warning: Attempt to read property "delta" on null in Drupal\wisski_adapter_sparql11_pb\Plugin\wisski_salz\Engine\Sparql11EngineWithPB->getImagesForEntityId() (line 912 of modules/contrib/wisski/wisski_adapter_sparql11_pb/src/Plugin/wisski_salz/Engine/Sparql11EngineWithPB.php).
and
Warning: Undefined array key "public://fotomappen/M/40/Schub_11_0207_02_M_40-0029.jpg" in Drupal\wisski_adapter_sparql11_pb\Plugin\wisski_salz\Engine\Sparql11EngineWithPB->getImagesForEntityId() (line 912 of modules/contrib/wisski/wisski_adapter_sparql11_pb/src/Plugin/wisski_salz/Engine/Sparql11EngineWithPB.php).

When you try to remove the images, the warnings are gone, but the images remain connected to the entity and the warning is thrown:
Warning: Undefined array key "target_id" in Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraintValidator->validate() (line 129 of /var/www/html/boehler/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraintValidator.php)

Complete error log as attachment.

Examples

This page.

Setup

Drupal 9.5.7
PHP 8.0
WissKI 3.11
Complete list of modules as attachment.

πŸ“Œ Task
Status

Active

Version

3.11

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany rnsrk

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

Comments & Activities

Production build 0.69.0 2024