I have a site built with Display suite using different displaymodes to show the nodes. I also have nodesinblock installed to let the administrators to set a node as a nodesinblock linked to the full node itself. If the visibility rule is set to the nodes path or using the wildcard option, and then accessing the full node, I get a white screen. I think this is because nodesinblock is attempting to load the same node the user is accessing. Here is a print of the error:

PHP Fatal error: Unsupported operand types in /modules/node/node.module on line 1360

Comments

kleve’s picture

I don´t know if this module is built for this but I attached a patch that seems to fix this. The patch should prevent the nodesinblock node to be rendered if the path is the node itself.