I'm getting the error
recoverable fatal error: Object of class stdClass could not be converted to string in /var/www/html/sled/modules/lineage/views_plugin_style_lineage_nested.inc on line 267.

This happens when set my view style to Lineage nested list.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stinky’s picture

I changed line 267 from $output .= $row; to $output .= $row->$row;

The error message went away, but I'm not getting the data I want. I'm getting the taxonomy terms, but not the linked nodes. E.g.,

(term) Government & Law
(subterm)Alaska Government & Law
(sub-subterm)Alaska Current Legislation - Bill action/status, committee schedules

I want to get
(term) Government & Law
(subterm)Alaska Government & Law
*link
*link
(sub-subterm)Alaska Current Legislation - Bill action/status, committee schedules
*link
*link
*link
*link

kenorb’s picture

Status: Active » Needs review
FileSize
437 bytes

Patch attached.

xjm’s picture

Status: Needs review » Fixed

Committed. Not sure exactly why it's getting an object instead of an array on the view edit pages but it has something to do with the view preview function.

http://drupal.org/cvs?commit=397444

See also: #864162: Views preview not working properly with nested plugin

Status: Fixed » Closed (fixed)

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