Using the latest dev release I'm getting the following error when using an entity reference pane with the Views display mode:

Fatal error: Unsupported operand types in /path/to/site/sites/all/modules/contrib/pane/contrib/pane_entity_reference/plugins/panes/pane_entity_reference.inc on line 243

Using the following:

  • PHP 5.4.38
  • Pane 7.x-2.x-dev
  • Views 7.x-3.10
CommentFileSizeAuthor
#1 pane-views-operand-error-2473933-1.patch591 bytesslucero
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

slucero’s picture

Status: Active » Needs review
FileSize
591 bytes

The attached patch adds the view to the render array as a #markup item since the rendered view comes back as a string.

wwhurley’s picture

Status: Needs review » Closed (fixed)

Looks good. Applied the patch and committed to 7.x-2.x. See http://cgit.drupalcode.org/pane/commit/?id=4603cfa.