Enabled "send" & "send_node" setting up a new content type called "test", and enabled send node for that type at admin/settings/send/node.
When loading the Node form, send node's form alter tries to load profile, and call setName() and settings_form() but $profile is never populated - the module then causes a fatal error when it calls the methods on a non-object.
Wherever the module tries to load a profile, it fails for the same reason.
Trying to follow the code, in send_node_profile_load(), as the node doesn't exist yet, it tries to load the default profile with send_profile_load($default), but the $suffix of "_test" (ie. my node type) has been added onto $default, meaning that send_profile_load() returns false - there is no profile in the list named "send_node_test"...
Having never used the module, I don't know what the correct behaviour is meant to be... should there be a profile named that? I have no idea - But it looks like the module is useful, and I would love to use it. I wonder if anyone could shed some light on this.
This is not limited to the Dev branch, but 6.x-1.0alpha6 also ...I tried both.
Thanks
Comments
Comment #1
petebarnett commentedSorry Drupal.org was crawling along when I posted this duplicate. I thought the original had failed as the page never loaded.
Comment #2
allie mickaSee #1491098: Send Node module fails to load profile