Problem/Motivation

Warning: array_flip(): Can only flip STRING and INTEGER values! in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 269 of /var/www/html/core/lib/Drupal/Core/Entity/EntityStorageBase.php)

Is caused if for some reason the entity_id can not be loaded, and getValuesToExtract will pass an empty string to loadMultiple

Steps to reproduce

Proposed resolution

Remaining tasks

CommentFileSizeAuthor
#2 search-api-flip.patch747 bytesattiks

Comments

attiks created an issue. See original summary.

attiks’s picture

Status: Active » Needs review
StatusFileSize
new747 bytes
drunken monkey’s picture

Status: Needs review » Fixed

Makes sense, thanks a lot!
Committed.

  • drunken monkey committed 490a864 on 8.x-1.x authored by attiks
    Issue #3195389 by attiks, drunken monkey: Fixed error in Views when...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.