Closed (fixed)
Project:
Event
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
9 Mar 2005 at 15:26 UTC
Updated:
10 May 2005 at 15:15 UTC
I using event module on Drupal 4.6.0 and I found errors.
When I created an event and then go to calendar ->
Fatal error: Cannot use object of type stdClass as array in ***...\modules\node.module on line 380.
I can fix this bug, when I edit node.module and comment this line
$cachable = (count($conditions) == 1 && isset($conditions['nid']) && $revision == NULL);.
Then everithing work great until I log out. If I browsing site as Anonymous I can't see int the event calender upcoming events.
Can you tell how can I fix this.
I hope, that it is understendable :)
Comments
Comment #1
kecinzer commentedWell, I think, that I fix this problem:
Around line 614 replace $node = node_load($node); to $node = node_load(array("nid" => $node->nid));.
This fix both of errors :)
Comment #2
panchokecinzer wrote: "I using event module on Drupal 4.6.0 and I found errors." So it seems to be the CVS version you're talking about...? And it is only patched, not fixed, so I corrected the status code.
Comment #3
crunchywelch commentedThis is not an issue with the 4.6 branch or head. It has been fixed for several revisions.
Comment #4
(not verified) commented