Replies: 0
At the beginning i had the error 404 from contact form. But the contact form was working fine by itself.
I used the short code to show the form:
[email-download download_id=”X” contact_form_id=”Y”]
When I var_dump()
‘d the variables, i got this:
string(8) "”64”" string(8) "”63”"
64 is the contact form id, 63 is the download file id.
Looks like when the shortcode_atts()
is used, the returned values come with extra characters, in this case ”
Solution:
Dont add ""
to the ids
[email-download download_id=X contact_form_id=Y]
Wordpress: 4.7.4
contact form 7: 4.6
Download monitor: 1.9.7