In og_galleries.module on line 411 you have:
og_galleries_update_vid($vid, array('name' => $node->title));
The $vid variable is uninitialised and the function signature is:
function og_galleries_update_vid($vid, $params) {
It isn't passed by reference so you are not getting back anything in that variable. This indicates that there is either something wrong with the signature or call or.... If I figure it out I'll submit a patch.
In the function og_galleries_update_vid the first line is if (!vid) {. This should be if (!$vid) {. But then the call described earlier in this post will always return with an error.
Comments
Comment #1
karens commentedJust committed a fix to properly initialize this. Thanks for the help!
Comment #2
(not verified) commented