Title: Errors exporting
Last modified: May 11, 2018

---

# Errors exporting

 *  Resolved [steplab](https://wordpress.org/support/users/steplab/)
 * (@steplab)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/errors-exporting/)
 * Inside Manage Export page, where there is the list of exports
 * I have an export that in summary column display the message:
    Export currently
   in progress by lot of time
 * If try to visit the file url get error:
 * This page contains the following errors:
    error on line 14701 at column 16: Extra
   content at the end of the document Below is a rendering of the page up to the
   first error.
 * Analyzed the source of the file generated it doesn’t have main closing tag.
 * Now clicked Cancel button and tryed to run the export manually and we get:
 * Export Error
    {“export_id”:”4″,”queue_export”:false,”exported”:34,”percentage”:
   100,”done”:false,”records_per_request”:”100″}[ERROR](https://codex.wordpress.org/ERROR){“
   error”:”PHP Error: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string()
   instead. on line 243 of the Functions Editor<\/span>”,”line”:243,”title”:”PHP
   Error”}
 * Inside Function Editor that end at row 100 there isn’t that mysql_escape_string
   function.
 * The xml file generated is smaller and get same error.
    -  This topic was modified 8 years, 1 month ago by [steplab](https://wordpress.org/support/users/steplab/).

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

 *  Thread Starter [steplab](https://wordpress.org/support/users/steplab/)
 * (@steplab)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/errors-exporting/#post-10270803)
 * Another information if useful:
    If trying to update the plugin get the error 
   creating a directory
 * \wp-all-export-pro\classes\PHPExcel\Shared\Escher\DggContainer\BstoreContainer
 * and stops the update
 * version still 1.4.6
 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [8 years ago](https://wordpress.org/support/topic/errors-exporting/#post-10279675)
 * Hi
 * > Now clicked Cancel button and tryed to run the export manually and we get: 
   > Export Error.
 * Can you please try running a conflict test as described at [http://www.wpallimport.com/documentation/troubleshooting/plugin-theme-conflicts/](http://www.wpallimport.com/documentation/troubleshooting/plugin-theme-conflicts/)
   and let us know if that fixes it?
 * > If trying to update the plugin get the error creating a directory
 * Please check with your web host and ask them to make sure the folder permissions
   are set correctly on your server. Here are the recommended settings: [https://codex.wordpress.org/Changing_File_Permissions#Permission_Scheme_for_WordPress](https://codex.wordpress.org/Changing_File_Permissions#Permission_Scheme_for_WordPress).
 * If none of this helps, we’ll need you to open a ticket at [http://www.wpallimport.com/support/](http://www.wpallimport.com/support/)
   with details on the issue so that we can see it in action on your site.
 *  Thread Starter [steplab](https://wordpress.org/support/users/steplab/)
 * (@steplab)
 * [8 years ago](https://wordpress.org/support/topic/errors-exporting/#post-10282168)
 * I think there is a problem into you plugin class that display “Function Editor”
   errors, class WpaePhpInterpreterErrorHandler inside \libraries.
    That display
   php errors and warnings from all files of entire site named “functions.php”, 
   filename commonly used by themes.
 * I fixed this line:
 *     ```
       if($error && strpos($error['file'], 'functions.php') !== false){
       ```
   
 * Replaced with:
 *     ```
       if($error && $error['file']==''.$wp_uploads['basedir'] . DIRECTORY_SEPARATOR . WP_ALL_EXPORT_UPLOADS_BASE_DIRECTORY . DIRECTORY_SEPARATOR . 'functions.php'){
       ```
   
 * This fixed my problem.
 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [8 years ago](https://wordpress.org/support/topic/errors-exporting/#post-10346617)
 * Hi [@steplab](https://wordpress.org/support/users/steplab/)
 * Thanks for the report. This will be fixed in the next release.

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

The topic ‘Errors exporting’ is closed to new replies.

 * ![](https://ps.w.org/wp-all-export/assets/icon-256x256.png?rev=2570162)
 * [WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel](https://wordpress.org/plugins/wp-all-export/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-export/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-export/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-export/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-export/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-export/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/errors-exporting/#post-10346617)
 * Status: resolved