According to the api documentation, entity_load should return all order entities with this call. I ran into this trying to get all entities using commerce's native commerce_order_load_multiple function.

Instead, calling entity_load this way gives the following fatal error:

PHP Fatal error: Unsupported operand types in /.../drupal-7.12/sites/default/modules/commerce/includes/commerce.controller.inc on line 43,

CommentFileSizeAuthor
#1 entity_load-without-ids-1528136-1.patch946 bytessfyn
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sfyn’s picture

Status: Active » Needs review
FileSize
946 bytes

Fortunately, this was relatively easy to patch

rszrama’s picture

Status: Needs review » Fixed

Excellent, thanks for the fix. Committed!

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

remove irrelevant path information from the fatal error text