Closed (cannot reproduce)
Project:
Drupal core
Version:
7.7
Component:
node.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2011 at 17:01 UTC
Updated:
21 Jan 2013 at 03:49 UTC
Jump to comment: Most recent
Comments
Comment #1
icefinger commentedComment #2
Anonymous (not verified) commentedThis must be the result of a contrib module installed on the site because it would have affected many sites if it were a bug in core.
Comment #3
g.basle commentedHello,
I have exactly the same problem but with the 7.12 version of Drupal. The notice in the red box said :
Trying to get property of non-object in node_node_access() (line 2932 of C:\wamp\www\drupal-7.12\modules\node\node.module).
In line 2932 in modules\node\node.module :
Does anyone know how to solve this problem ?
Thanks
Comment #4
hkvega01 commented//$type = is_string($node) ? $node : $node->type;
if (is_string($node)) {
$type = $node;
} else {
if (is_object($node)) {
$type = $node->type;
} else {
$type = $node;
}
}
i changed the code temporarily fixed it, but i don't sure it has some hidden bug.