-
AuthorPosts
-
July 15, 2014 at 5:07 pm #291697
Hi,
when I put the code of the cleverreach-form (newsletter) to a page I’ll get errors.
this is the form code
<form class="layout_form cr_form cr_font" action="http://54181.seu1.cleverreach.com/f/54181-132699/wcs/" method="post" target="_blank"> <div class="cr_body cr_page cr_font formbox"> <div class="non_sortable" style="text-align:left;"> </div> <div class="editable_content" style="text-align:left;"> <div id="2707217" rel="checkbox" class="cr_ipe_item ui-sortable musthave" style=" margin-bottom:0px;"> <label class="itemname">Verbindliche Anmeldung*</label> <div style="overflow:auto;"> <input id="Ja, ich möchte mich verbindlich zum How To Create My Life GruppenCoaching anmelden.2707217" class="cr_ipe_checkbox" name="1050979[]" value="Ja, ich möchte mich verbindlich zum How To Create My Life GruppenCoaching anmelden." type="checkbox">Ja, ich möchte mich verbindlich zum How To Create My Life GruppenCoaching anmelden. </div> <br style="clear:left;"> </div><div id="2707218" rel="text" class="cr_ipe_item ui-sortable musthave" style=" margin-bottom:0px;"> <label for="text2707218" class="itemname">Vorname*</label> <input id="text2707218" name="1050390" value="" style="width:100%;" type="text"> </div><div id="2707219" rel="text" class="cr_ipe_item ui-sortable musthave" style=" margin-bottom:0px;"> <label for="text2707219" class="itemname">Nachname*</label> <input id="text2707219" name="1050391" value="" style="width:100%;" type="text"> </div><div id="2707213" rel="email" class="cr_ipe_item ui-sortable musthave" style="margin-bottom:px;"> <label for="text2707213" class="itemname">E-Mail*</label> <input id="text2707213" name="email" value="" style="width:100%;" type="text"> </div><div id="2707221" rel="text" class="cr_ipe_item ui-sortable" style=" margin-bottom:0px;"> <label for="text2707221" class="itemname">Telefon</label> <input id="text2707221" name="1050980" value="" style="width:100%;" type="text"> </div><div id="2707222" rel="mce_text" class="cr_ipe_item ui-sortable"> <div class="mce_text"><p><b>Starttermin</b><br><br>Die Dauer des GruppenCoachings beträgt sechs Monate.</p></div> </div><div id="2707223" rel="radio" class="cr_ipe_item ui-sortable" style=" margin-bottom:0px;"> <label class="itemname">Starttermine</label> <div style="overflow:auto;"> <input id="1. Oktober 20142707223" class="cr_ipe_radio" name="1050981" value="1. Oktober 2014" type="radio">1. Oktober 2014 <input id="1. November 20142707223" class="cr_ipe_radio" name="1050981" value="1. November 2014" type="radio">1. November 2014 <input id="1. Dezember 20142707223" class="cr_ipe_radio" name="1050981" value="1. Dezember 2014" type="radio">1. Dezember 2014 <input id="1. Januar 20152707223" class="cr_ipe_radio" name="1050981" value="1. Januar 2015" type="radio">1. Januar 2015 <input id="1. Februar 20152707223" class="cr_ipe_radio" name="1050981" value="1. Februar 2015" type="radio">1. Februar 2015 <input id="1. März 20152707223" class="cr_ipe_radio" name="1050981" value="1. März 2015" type="radio">1. März 2015 </div> </div><div id="2707224" rel="textarea" class="cr_ipe_item ui-sortable" style=" margin-bottom:0px;"> <label for="textarea_2707224" class="itemname">Optionale Nachricht</label><textarea id="textarea_2707224" name="1050700" style="width:100%;"></textarea> </div><div id="2707225" rel="mce_text" class="cr_ipe_item ui-sortable"> <div class="mce_text"><p></p><p>Nach Ihrer <b><u>verbindlichen</u></b> Anmeldung erhalten Sie von uns eine Bestätigung per Email. Darin sind alle Details Ihres gebuchten E-Coachings und ein Fragebogen zu Ihrer persönlichen Situation enthalten.</p> <p>Eine Anzahlung von 10% des Programmpreises wird sofort fällig. Sie erhalten dazu eine gesonderte Rechnung. Den Restbetrag zahlen Sie bis 2 Wochen vor Programmstart.</p><p></p></div> </div><div id="2707226" rel="checkbox" class="cr_ipe_item ui-sortable" style=" margin-bottom:0px;"> <label class="itemname">Newsletter Anmeldung</label> <div style="overflow:auto;"> <input id="Ich möchte außerdem den How To Create My Life Abroad Newsletter erhalten.2707226" class="cr_ipe_checkbox" name="1050703[]" value="Ich möchte außerdem den How To Create My Life Abroad Newsletter erhalten." selected="" checked="" type="checkbox">Ich möchte außerdem den How To Create My Life Abroad Newsletter erhalten. </div> <br style="clear:left;"> </div><div id="2707215" rel="button" class="cr_ipe_item ui-sortable submit_container" style="text-align:center; margin-bottom:15px;"> <button type="submit" class="cr_button">Senden</button> </div> </div> <noscript><a href="http://www.cleverreach.de">www.CleverReach.de</a></noscript> </div> </form>
and this are the errors:
Warning: array_map() [function.array-map]: Argument #2 should be an array in …/wp-includes/post.php on line 2001Warning: Cannot modify header information – headers already sent by (output started at…/wp-includes/post.php:2001) in …/wp-admin/post.php on line 235
Warning: Cannot modify header information – headers already sent by (output started at …/wp-includes/post.php:2001) in …/wp-includes/pluggable.php on line 1121
What I have to do, that I can use html-code from other sites. I allways use text-element. using the code-element causes the same issues.
Thanks,
DanielaJuly 16, 2014 at 3:31 am #291929Hi Daniela,
I was able to put that code on a Page without issues. Does the errors persists if you switch to the default WordPress theme?
Cheers!
JosueJuly 27, 2014 at 1:35 pm #296455Hi Josue,
no, if switch to the default WordPress Theme, there will be no error.
Thanks,
DanielaJuly 27, 2014 at 9:21 pm #296509Hi Daniela,
I can’t reproduce the error on my Enfold install, have tried with both Text Elements and Code Elements. As a workaround you can put this code in functions.php to hide PHP warning messages:
error_reporting(E_ERROR | E_PARSE);
Regards,
JosueJuly 28, 2014 at 8:48 am #296586Hi Josue,
I’ll do this.
Thank you very much,
DanielaJuly 28, 2014 at 9:28 am #296595You are welcome, always glad to help :)
Regards,
JosueSeptember 2, 2014 at 12:55 pm #312262This topic can be closed!
Best regards,
Daniela -
AuthorPosts
- The topic ‘Error when putting a cleverreach form to a page’ is closed to new replies.