Warning: array_flip(): Can only flip STRING and INTEGER values!

Created on 2 November 2018, about 6 years ago
Updated 26 February 2023, almost 2 years ago

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

I think the error in Drupal\block_visibility_groups_admin\GroupInfo::getActiveGroups() method in $this->group_storage->loadMultiple() invocation. Maybe will be better to use something like \Drupal::entityQuery() to load active groups ids and than load entities by array of ids.

πŸ› Bug report
Status

Closed: outdated

Version

1.3

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine knyshuk.vova

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024