Attachment Stopped Working

29 April, 2021 09:28:46
nicole_4
Topics: 1
Messages: 4
Everything was working fine but out of the blue, the attachment stopped attaching to the emails. I've tried other work arounds with using the shortcodes of download or view, but it always comes back to say "Exception: PDF Document is Empty". I use forminator for the fields. Do you happen to know what has happened and why all of a sudden the attachments would stop working?
29 April, 2021 09:34:52
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

Check please if you didn't add any actions to pages and do not have "HTML" elements which can hide pages. Screenshots attached.

We remain at your service.


We would really appreciate your feedback at WordPress.org!
29 April, 2021 09:42:14
nicole_4
Topics: 1
Messages: 4
I've always had actions to pages even when it was working, but I didn't change anything since before it stopped working. I also don't ever have the Hide Page box selected.
29 April, 2021 09:58:30
E2Pdf
Support
Topics: 7
Messages: 3163
Do you use "checkbox" / "radio" / "select" within "Actions" and "Conditions" on pages?

If yes, it could be connected with Forminator 1.10.x update: https://e2pdf.com/support/desk/forminator-1-10-x-version-checkbox-radio-select-stopped-working.

All new submitted entries will be using "Labels" instead of "Values" due the core change inside Forminator so if you are using "checkbox" / "radio" / "select" within "Actions" and "Conditions", you need to add "Conditions" also to compare with "Labels" along with comparing with "Values" to have it work with old and new entries.

If it will not work, attach please some screenshots how is the set "Actions" and "Conditions".
We would really appreciate your feedback at WordPress.org!
29 April, 2021 10:06:21
nicole_4
Topics: 1
Messages: 4
So by updating these actions, that should make the attachment work again?
29 April, 2021 10:13:20
E2Pdf
Support
Topics: 7
Messages: 3163
Unfortunately we do not see which actions you have on pages. Can you please attach screenshot of actions set to page?

However if you show pages depending on "value" from "checkbox" / "radio" / "select" - yes it must fix the issue, as "Actions" just will not fire if "values" doesn't match. The link to the topic is just general description what was changed in Forminator. To fix current issue you must modify "Actions" on pages.

If entry was submitted in < 1.10 version of Forminator it was saving entry with "Value" and in >= 1.10 entries saving the "Label". For example in entry which was submitted < 1.10 version - {select-1} will be rendered as "option-1" and if entry submitted in >= 1.10.x version {select-1} will be rendered as "Option 1".
We would really appreciate your feedback at WordPress.org!
10 May, 2021 08:32:10
nicole_4
Topics: 1
Messages: 4
Thank you, that was the issue. I was able to go in and update the actions. Thank you very much!!