Forums

export csv

Guusta 30 Dec, 2013
I us joomla 3.2 chronoforms v4 and csv_export_v2_gh
I have made a form with export to csv. When i submit the form all goes well, file is created and i can add records to it, only there is a warning:

Warning: array_keys() expects parameter 1 to be array, null given in /home/XXXXXXXXX/domains/XXXXXXXXXX.nl/public_html/administrator/components/com_chronoforms/form_actions/csv_export_v2_gh/csv_export_v2_gh.php on line 161

What can i do to make it wright?
GreyHead 31 Dec, 2013
Hi Guusta,

I'm not sure - the simple answer is to set your site Error Reporting to System Default or None to hide PHP Warnings.

Looking at the code it seems most likely that this error would be cause if no table was selected on the settings tab of the action.

Bob
Guusta 31 Dec, 2013
Thank you for your reaction.

Your suggestion is the most simple and it works.
In the attachment you can see in the screenshots what i did. Maybe there is also another suggestion because now all warning are disabled.
This message shout not appear i think
GreyHead 31 Dec, 2013
Hi Guusta,

Thank you, I found a small bug from some changes in the Jooomla 3.2 code. You can get the updated action here

Bob
This topic is locked and no more replies can be posted.