Title: Errors when viewing and exporting data
Last modified: June 22, 2018

---

# Errors when viewing and exporting data

 *  Resolved [wpuser458](https://wordpress.org/support/users/wpuser458/)
 * (@wpuser458)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/errors-when-viewing-and-exporting-data/)
 * Hi,
 * I’m receiving several errors when trying to view and export cfdb7 entries:
    In
   the list view: Warning: Invalid argument supplied for foreach() in XXXX/wp-content/
   plugins/contact-form-cfdb7/inc/admin-subpage.php on line 241
 * One entry is missing all fields in the list view, except the date. Upon opening
   this entry’s detail view, the following error occurs and the entry is deleted
   from the DB (I checked the MySQL table): Warning: Invalid argument supplied for
   foreach() in XXX/wp-content/plugins/contact-form-cfdb7/inc/admin-form-details.
   php on line 48
 * When trying to export CSV, the ‘headers already sent’ error occurs:
    Warning:
   Invalid argument supplied for foreach() in XXX/wp-content/plugins/contact-form-
   cfdb7/inc/export-csv.php on line 89 Warning: Cannot modify header information–
   headers already sent by (output started at XXX/wp-content/plugins/contact-form-
   cfdb7/inc/export-csv.php:89) in XXX/wp-content/plugins/contact-form-cfdb7/inc/
   export-csv.php on line 18 Warning: Cannot modify header information – headers
   already sent by (output started at XXX/wp-content/plugins/contact-form-cfdb7/
   inc/export-csv.php:89) in XXX/wp-content/plugins/contact-form-cfdb7/inc/export-
   csv.php on line 20 Warning: Cannot modify header information – headers already
   sent by (output started at XXX/wp-content/plugins/contact-form-cfdb7/inc/export-
   csv.php:89) in XXX/wp-content/plugins/contact-form-cfdb7/inc/export-csv.php on
   line 23 Warning: Cannot modify header information – headers already sent by (
   output started at XXX/wp-content/plugins/contact-form-cfdb7/inc/export-csv.php:
   89) in XXX/wp-content/plugins/contact-form-cfdb7/inc/export-csv.php on line 24
   Warning: Cannot modify header information – headers already sent by (output started
   at XXX/wp-content/plugins/contact-form-cfdb7/inc/export-csv.php:89) in XXX/wp-
   content/plugins/contact-form-cfdb7/inc/export-csv.php on line 25 Warning: Cannot
   modify header information – headers already sent by (output started at XXX/wp-
   content/plugins/contact-form-cfdb7/inc/export-csv.php:89) in XXX/wp-content/plugins/
   contact-form-cfdb7/inc/export-csv.php on line 28 Warning: Cannot modify header
   information – headers already sent by (output started at XXX/wp-content/plugins/
   contact-form-cfdb7/inc/export-csv.php:89) in XXX/wp-content/plugins/contact-form-
   cfdb7/inc/export-csv.php on line 29
 * WP v4.9.6
    Contact Form 7 v5.0.2 CFDB7 v1.2.2. Checked with PHP 5.6, 7.0 and 
   7.1
 * What could possibly cause this?
 * Thanks in advance!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/errors-when-viewing-and-exporting-data/#post-10426214)
 * Please deactivate other plugins and try once more..
 * Please send form shortcodes.
 *  Thread Starter [wpuser458](https://wordpress.org/support/users/wpuser458/)
 * (@wpuser458)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/errors-when-viewing-and-exporting-data/#post-10426254)
 * I deactivated all plugins except Contact Form 7 and CFDB7, but the errors persist.
   
   Do you mean shortcode for displaying the form? It’s [contact-form-7 id=”1615″
   title=”TITLE”]
 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/errors-when-viewing-and-exporting-data/#post-10426299)
 * Please send contact form field shortcodes.
 *  Thread Starter [wpuser458](https://wordpress.org/support/users/wpuser458/)
 * (@wpuser458)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/errors-when-viewing-and-exporting-data/#post-10426650)
 * Can I send the shortcodes by PM or email?
 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/errors-when-viewing-and-exporting-data/#post-10426656)
 * [support@ciphercoin.com](https://wordpress.org/support/topic/errors-when-viewing-and-exporting-data/support@ciphercoin.com?output_format=md)
 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/errors-when-viewing-and-exporting-data/#post-10433563)
 * Please update plugin

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Errors when viewing and exporting data’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-cfdb7/assets/icon-256x256.png?rev=1619878)
 * [Database Addon for Contact Form 7 - CFDB7](https://wordpress.org/plugins/contact-form-cfdb7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-cfdb7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-cfdb7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-cfdb7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-cfdb7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-cfdb7/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/errors-when-viewing-and-exporting-data/#post-10433563)
 * Status: resolved