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

kecinzer’s picture

Well, 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 :)

pancho’s picture

kecinzer 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.

crunchywelch’s picture

Assigned: kecinzer » crunchywelch

This is not an issue with the 4.6 branch or head. It has been fixed for several revisions.

Anonymous’s picture