Forums

Error with attachments after updating to Joomla 3.5

Mediatonttu 22 Apr, 2016
Hi,
After updating from Joomla 2.5 to Joomla 3.5 (and updating CF4) the form sender gets an error notification if there are attachments in the form. The notification with debugger is this:
Warning: array_values() expects parameter 1 to be array, null given in /home/leijonae/public_html/administrator/components/com_chronoforms/form_actions/email/email.php on line 205

Warning: Invalid argument supplied for foreach() in /home/leijonae/public_html/administrator/components/com_chronoforms/form_actions/email/email.php on line 206

Warning: array_values() expects parameter 1 to be array, null given in /home/leijonae/public_html/administrator/components/com_chronoforms/form_actions/email/email.php on line 205

Warning: Invalid argument supplied for foreach() in /home/leijonae/public_html/administrator/components/com_chronoforms/form_actions/email/email.php on line 206
Data Array:
Array
(
[option] => com_chronoforms
[tmpl] => component
[chronoform] => kulukorvaus
[event] => submit
[input_text_0] => TESTI Jaska
[input_osoite] => Toinen linja 3
[input_text_1] => name@domain.com
[input_text_3] => 0401234567
[input_henktunnus] => 000000-9999
[input_tilino] => FI01 2345 6789 9876 22
[input_text_11] => TESTI
[input_text_5] => 1.4.2016
[input_checkbox_group_16] => majoituskulut
[input_km] =>
[input_pvraha] =>
[input_textarea_7] =>
[input_checkbox_8] =>
[input_file_17] => 20160422114215_DSC00022.jpg
[input_file_18] =>
[input_file_19] =>
[chrono_verification] => VnpKx
[input_submit_10] => Lähetä
[e0880f4a3ade327962809e2e4d3daa2d] => 1
[_PLUGINS_] => 20160422114215_DSC00022.jpg,DSC00022.jpg,/home/leijonae/public_html/components/com_chronoforms/uploads/kulukorvaus/20160422114215_DSC00022.jpg,400920,https://www.leijonaemot.fi/components/com_chronoforms/uploads/kulukorvaus/20160422114215_DSC00022.jpg
[chronoform_data] => Array
(
[cf_uid] => 7a49f557882f7ecb7524ac403ad83f82
[cf_created] => 2016-04-22 11:42:15
[cf_created_by] => 0
[cf_ipaddress] => 178.75.150.200
[cf_user_id] => 0
[option] => com_chronoforms
[tmpl] => component
[chronoform] => kulukorvaus
[event] => submit
[input_text_0] => TESTI Jaska
[input_osoite] => Toinen linja 3
[input_text_1] => name@domain.com
[input_text_3] => 0401234567
[input_henktunnus] => 000000-9999
[input_tilino] => FI01 2345 6789 9876 22
[input_text_11] => TESTI
[input_text_5] => 1.4.2016
[input_checkbox_group_16] => majoituskulut
[input_km] =>
[input_pvraha] =>
[input_textarea_7] =>
[input_checkbox_8] =>
[input_file_17] => 20160422114215_DSC00022.jpg
[input_file_18] =>
[input_file_19] =>
[chrono_verification] => VnpKx
[input_submit_10] => Lähetä
[e0880f4a3ade327962809e2e4d3daa2d] => 1
[_PLUGINS_] => 20160422114215_DSC00022.jpg,DSC00022.jpg,/home/leijonae/public_html/components/com_chronoforms/uploads/kulukorvaus/20160422114215_DSC00022.jpg,400920,https://www.leijonaemot.fi/components/com_chronoforms/uploads/kulukorvaus/20160422114215_DSC00022.jpg
[cf_id] => 178
)

[chronoform_data_cf_id] => 178
)
Validation Errors:
Array
(
)
Thank you for your help!
GreyHead 22 Apr, 2016
Hi Mediatonottu,

Max posted here that he had fixed that Warning so you might try upgrading to the latest release.

But as the Warnings are harmless you can also hide them by setting your Site Error Reporting to System Default or to None.

Bob
Mediatonttu 22 Apr, 2016
Thanks for your great help!
– Jaska
This topic is locked and no more replies can be posted.