Actions
Bug #31652
closedFatal error: Call to a member function getValue() [Attributes.php line 154]
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2011-11-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
I created a form (Form version 0.9.0) using the new form wizard in Typo3 4.6.0.
enctype = multipart/form-data method = post prefix = tx_form confirmation = 1 postProcessor { 1 = mail 1 { recipientEmail = email@domain.com senderEmail = another-email@another-domain.com } } 10 = RADIOGROUP 10 { class = fieldset-subgroup legend { value = Geschlecht } name = Geschlecht 10 = RADIO 10 { label { value = Frau } } 20 = RADIO 20 { label { value = Herr } } } 20 = TEXTLINE 20 { name = Titel label { value = Titel } } 30 = TEXTLINE 30 { name = Nachname label { value = Nachname } } 40 = TEXTLINE 40 { name = Vorname label { value = Vorname } } 50 = TEXTLINE 50 { name = E-Mail label { value = E-Mail } } 60 = TEXTLINE 60 { name = Telefon label { value = Telefon } } 70 = TEXTLINE 70 { name = Unternehmen label { value = Unternehmen / Organisation } } 80 = TEXTLINE 80 { name = Funktion label { value = Funktion } } 90 = TEXTLINE 90 { name = Straße label { value = Straße } } 100 = TEXTLINE 100 { name = PLZ label { value = PLZ } } 110 = TEXTLINE 110 { name = Ort label { value = Ort } } 120 = TEXTLINE 120 { name = Land label { value = Land } } 130 = TEXTBLOCK 130 { class = content-textblock content = Mit * markierte Felder sind erforderlich.<br>Diese Angaben benötigen wir, um mit Ihnen Kontakt aufzunehmen. } 140 = TEXTAREA 140 { cols = 30 rows = 5 name = Nachricht label { value = Bitte tragen Sie hier Ihre Nachricht an uns ein. } } 150 = RADIOGROUP 150 { class = fieldset-subgroup name = Datenschutz 10 = RADIO 10 { label { value = Ich habe die Bestimmungen zum Datenschutz sowie die rechtlichen Hinweise im Impressum zur Kenntnis genommen und akzeptiere diese. } } } 160 = SUBMIT 160 { name = 21 value = Senden } rules { 1 = required 1 { breakOnError = 0 showMessage = 1 message = * error = Das Feld ist erforderlich. element = Geschlecht } 2 = required 2 { breakOnError = 0 showMessage = 1 message = * error = Das Feld ist erforderlich. element = Nachname } 3 = required 3 { breakOnError = 0 showMessage = 1 message = * error = Das Feld ist erforderlich. element = Vorname } 4 = email 4 { breakOnError = 0 showMessage = 1 message = * error = Dies ist keine gültige E-Mail-Adresse. element = E-Mail } 5 = required 5 { breakOnError = 0 showMessage = 1 message = * error = Das Feld ist erforderlich. element = Datenschutz } }
When I try to send the form I get a blank page only showing this php error:
Fatal error: Call to a member function getValue() on a non-object in /html/typo3/typo3_src-4.6.0/typo3/sysext/form/Classes/Domain/Model/Attributes/Attributes.php on line 154
The error stays after that. I cannot access the form anymore. When I try to load the page which contains the form (just form without the submit) I get the exact same error.
When I switch to
confirmation = 0
I get a different error (this time the utput comes from Typo, not php) upon accessing the page with the form:
Oops, an error occurred! Address set in PathHeader does not comply with addr-spec of RFC 2822.
Can anyone reproduce the error or give advise?
Best regards
Actions