Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
% drush ev 'var_dump(entity_load("dossier",[0=>4,2=>9]))'
WD php: MongoCursorException: localhost:27017: Can't canonicalize query: BadValue $in needs an array in MongoCursor->rewind()
Apparently PHP's BSON serializer does not handle arrays with non-consecutive keys very well, see https://jira.mongodb.org/browse/PHP-1051
Comments
Comment #1
Paul B CreditAttribution: Paul B commented