Warning: Invalid argument supplied for foreach() in buildQuery() (line 285 of ...drupal-7.23/includes/entity.inc)

This is caused by line 143 of sites/all/modules/edit/includes/pages.inc :

$entities = entity_load($entity_type, array($id), TRUE);

Hint :

7 common.inc 	entity_load($entity_type, $ids = FALSE, $conditions = array(), $reset = FALSE)
8 entity.inc 	entity_load($entity_type, $id, $reset = FALSE)

This has no visible damageable effect, but ...

Comments

gifad’s picture

Title: Incorrect call to entity_load cause PHP notice » Incorrect call to entity_load causes PHP notice
Status: Active » Closed (duplicate)

sorry, this is a duplicate of D7 module uses the D8 version of entity_load, which provides a patch...