Active
Project:
Lister
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2016 at 08:46 UTC
Updated:
14 Jun 2016 at 08:46 UTC
Jump to comment: Most recent
If the output of a Lister field includes the node that the field is attached to then a WSOD with the following errors occurs:
Notice: Undefined property: stdClass::$content in node_build_content() (line 1415 of /var/www/modules/site/modules/node/node.module).
Error: Unsupported operand types in node_build_content() (line 1415 of /var/www/modules/site/modules/node/node.module).This is because node_view() unsets $node->content after using it so when we try to render the node a second time $node->content does not exist. This also happens for Display Suite and other modules that can result in nested rendered nodes. There is a core bug dealing with this.
Comments