Hi!

I still get the error Undefined property: stdClass::$body in forward_form_submit() with this version. I thought the patch that fix the problem has been integrated in this version?

how can i fix this?
thnx for the help!

greez

Comments

chertzog’s picture

i get this as well.

john.oltman’s picture

I will take a look and work on a new release soon. There are a couple of other items as well.

Anonymous’s picture

@john.oltman
thnx for this. is there a way to hide the error? the function of sending the mail itself is working properly. only the error is quite ugly..

john.oltman’s picture

Assigned: Unassigned » john.oltman

@skylar, can you give me a line # for the error, and whether you were forwarding a node, comment, etc? Any info would help.

chertzog’s picture

Notice: Undefined property: stdClass::$body in forward_form_submit() (line 792 of /root/sites/all/modules/forward/forward.module).

i got this when i was forwarding a node.

john.oltman’s picture

Does the node's content type have a body field?

chertzog’s picture

no, i got rid of it. all i needed was the title field and an image field

john.oltman’s picture

Title: Error Undefined property: stdClass::$body » Don't assume existence of body field when forwarding node
Status: Active » Needs work

Some node types may not have a body field in D7. Check before using in the forwarded email.

john.oltman’s picture

Status: Needs work » Needs review

Fix committed, please pull down the latest 7.x DEV release after it finishes building and let me know if it works now.

chertzog’s picture

looks good. thanks

Anonymous’s picture

@john
sorry i was too late with giving you the needed informations. i installed the new release and it's working! great! thanx a lot!

john.oltman’s picture

Status: Needs review » Closed (fixed)