I've implemented hook_insert and hook_nodeapi, and both are receiving node as empty. Here's what I have for *_nodeapi:
function scholar_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {/*{{{*/
print("<pre>");
print("op = $op\n");
var_dump($node);
print("</pre>");
...
}
When I save my page, I see that op is prepare, then validate, then submit, then insert, and each time, node has everything set to null.
Viewing the data works fine (if there is already data in the database). I can even go to the edit page, and it will put the correct values in the form. It's just the insert and update that just won't work.
Any advice?
Thanks,
Richard