Title: Problem on CSV Exporting
Last modified: March 7, 2021

---

# Problem on CSV Exporting

 *  [hosseinshokrinia](https://wordpress.org/support/users/hosseinshokrinia/)
 * (@hosseinshokrinia)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/problem-on-csv-exporting/)
 * I recorded about 320,000 records in this plugin …
    Now after getting the output
   I have a problem (There was a major error on this website. Please check the webmaster’s
   mailbox for instructions.) .. No email Can not be sent either !!!
 * pleaaaaseeee helllp meee
    -  This topic was modified 5 years, 1 month ago by [hosseinshokrinia](https://wordpress.org/support/users/hosseinshokrinia/).

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

 *  [Rayno](https://wordpress.org/support/users/raynok/)
 * (@raynok)
 * [5 years ago](https://wordpress.org/support/topic/problem-on-csv-exporting/#post-14205158)
 * Good Day!
 * I am experiencing a header output error upon the export.
    I did switch off caching
   did update WordPress, as well Plugins.
 * Forced more memory and VAR, did not solve the problem.
 * Any idea what is the problem?
 * Kind Regards
    Rayno
 *  [galyna2006](https://wordpress.org/support/users/galyna2006/)
 * (@galyna2006)
 * [5 years ago](https://wordpress.org/support/topic/problem-on-csv-exporting/#post-14269906)
 * I have the same issue
 * Does anybody know how to solve it?
    thanks
 *  [Abner](https://wordpress.org/support/users/abnersamwebdev/)
 * (@abnersamwebdev)
 * [5 years ago](https://wordpress.org/support/topic/problem-on-csv-exporting/#post-14279151)
 * [https://omniagencia.com.br/tutoriais/problema-com-o-plugin-elementor-contact-form-db/](https://omniagencia.com.br/tutoriais/problema-com-o-plugin-elementor-contact-form-db/)
 * You can find the corrected plugin in this article
 *  [webaufzack](https://wordpress.org/support/users/webaufzack/)
 * (@webaufzack)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/problem-on-csv-exporting/#post-14319357)
 * Adding to Abners great advice:
 * Here is the link to the plugin:
 * [https://github.com/AbnerSam/Elementor-Contact-Form-DB-FIXED](https://github.com/AbnerSam/Elementor-Contact-Form-DB-FIXED)
 * If you dont want to install it, you can REPLACE lines 92 to 123 in the file “
   wp-content/plugins/sb-elementor-contact-form-db/sb_elementor_contact_form_db.
   php” with:
 *     ```
       function sb_elem_cfd_download_csv() {
        if ( isset( $_REQUEST['download_csv'] ) ) {
           if ( isset( $_REQUEST['form_name'] ) ) {
               if ( $rows = sb_elem_cfd_get_export_rows( $_REQUEST['form_name'] ) ) {
   
                   header( 'Content-Type: application/csv' );
                   header( 'Content-Disposition: attachment; filename=' . sanitize_title( $_REQUEST['form_name'] ) . '.csv' );
                   header( 'Pragma: no-cache' );
                   echo implode( "\n", $rows );
                   die;
               }
           }
   
           if ( isset( $_REQUEST['form_id'] ) ) {
               if ( $rows = sb_elem_cfd_get_export_rows_by_form_id( $_REQUEST['form_id'] ) ) {
   
                   header( 'Content-Type: application/csv' );
                   header( 'Content-Disposition: attachment; filename=' . sanitize_title( $_REQUEST['form_id'] ) . '.csv' );
                   header( 'Pragma: no-cache' );
                   echo implode( "\n", $rows );
                   die;
               }
           }
         }
       }
       ```
   

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

The topic ‘Problem on CSV Exporting’ is closed to new replies.

 * ![](https://ps.w.org/sb-elementor-contact-form-db/assets/icon-256x256.png?rev
   =3428959)
 * [FormsDB - Save Elementor Forms to Google Sheets & Post Type](https://wordpress.org/plugins/sb-elementor-contact-form-db/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sb-elementor-contact-form-db/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sb-elementor-contact-form-db/)
 * [Active Topics](https://wordpress.org/support/plugin/sb-elementor-contact-form-db/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sb-elementor-contact-form-db/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sb-elementor-contact-form-db/reviews/)

## Tags

 * [problem](https://wordpress.org/support/topic-tag/problem/)

 * 4 replies
 * 5 participants
 * Last reply from: [webaufzack](https://wordpress.org/support/users/webaufzack/)
 * Last activity: [4 years, 12 months ago](https://wordpress.org/support/topic/problem-on-csv-exporting/#post-14319357)
 * Status: not resolved