Active
Project:
Nodes In Block
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2012 at 09:38 UTC
Updated:
12 Sep 2012 at 09:39 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | nodesinblock-display-suite-with-nodesinblock-issue-1782044.patch | 552 bytes | kleve |
Comments
Comment #1
kleve commentedI 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.