I get this warning every time I try to include the PDF with the outgoing email as an attachment, after the form is submitted:
Fatal error: Unsupported operand types in /home8/xxxxxxxx/public_html/includes/theme.inc on line 1088
I've tried both the 3.x version as well as the 4.x-dev version with the same error. I note that the PDF is still created, and I can view it, and as long as I don't try to send it to email after the form is submitted, everything is fine, but as soon as I attempt to send it via email, I get a WSOD, with this error.
Thanks for any help :)
Comments
Comment #1
butteryak commentedOoops, sorry didn't see this:
https://www.drupal.org/node/2244587
Comment #2
butteryak commentedActually this fixes the critial error, but causes these warnings, The email is sent, with it attached, but it is saved to the system blank, and the attachment is blank as well.
Warning: realpath() expects parameter 1 to be a valid path, string given in drupal_realpath() (line 2319 of /home8/northwy6/public_html/includes/file.inc).
Warning: is_file() expects parameter 1 to be a valid path, string given in mimemail_multipart_body() (line 325 of /home8/northwy6/public_html/sites/all/modules/mimemail/mimemail.inc).
Comment #3
butteryak commentedSolved the blank email issue by changing font of PDF. But the %email_value token is not passing those values, just displays %email_values.
still have warning upon submission:
Warning: realpath() expects parameter 1 to be a valid path, string given in drupal_realpath() (line 2319 of /home8/northwy6/public_html/includes/file.inc).
Warning: is_file() expects parameter 1 to be a valid path, string given in mimemail_multipart_body() (line 325 of /home8/northwy6/public_html/sites/all/modules/mimemail/mimemail.inc).
Comment #4
mr.york commentedWhat version of webform2pdf and tcpd library are you using?