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.
Replace
$nodes = array();
foreach ($result as $nid) {
$nodes[] = node_load($nid->nid);
}
with node_load_multiple().
If many nodes are concerned, the request might take too long.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2207489-nodequeue_load_nodes-bug.patch | 521 bytes | olteanu5000 |
Comments
Comment #1
olteanu5000 CreditAttribution: olteanu5000 commentedComment #2
olteanu5000 CreditAttribution: olteanu5000 commentedComment #3
skipyT CreditAttribution: skipyT commentedComment #5
olteanu5000 CreditAttribution: olteanu5000 commentedComment #6
olteanu5000 CreditAttribution: olteanu5000 commentedComment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedworks like a charm
Comment #9
fizk CreditAttribution: fizk commentedCommitted. Thanks!