Title: Export error php line 238/239
Last modified: August 21, 2016

---

# Export error php line 238/239

 *  Resolved [Marius](https://wordpress.org/support/users/mariusfv/)
 * (@mariusfv)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/export-error-php-line-238239/)
 * Hi,
 * Finally a great statistics plugin.
    Everything work great but export function
   doesn’t work. I’ve read previous topics and your blog too and I have the same
   error:
 *     ```
       Warning: Cannot modify header information - headers already sent by (output started at /var/www/username/data/www/example.com/wp-content/plugins/wp-statistics/includes/optimization/export.php:1) in /var/www/username/data/www/example.com/wp-content/plugins/wp-statistics/includes/classes/php-export-data.class.php on line 238
   
       Warning: Cannot modify header information - headers already sent by (output started at /var/www/username/data/www/example.com/wp-content/plugins/wp-statistics/includes/optimization/export.php:1) in /var/www/username/data/www/example.com/wp-content/plugins/wp-statistics/includes/classes/php-export-data.class.php on line 239
       1 2014-05-14 20:10:27 2014-05-14 16 2 2014-05-15 12:07:39 2014-05-15 5
       ```
   
 * WP 3.9.1 WP Statistics 5.3
 * [https://wordpress.org/plugins/wp-statistics/](https://wordpress.org/plugins/wp-statistics/)

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

 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/export-error-php-line-238239/#post-4918149)
 * This is usually caused by another plugin outputting headers before we do. This
   came sometimes be just an extra space in one of their files. Try disabling your
   other plugins and see if exporting works.
 * Otherwise, the data export has worked and you can just cut/paste everything below
   the last Warning in to a file and save it.
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/export-error-php-line-238239/#post-4918326)
 * Closing due to inactivity.

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

The topic ‘Export error php line 238/239’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Greg Ross](https://wordpress.org/support/users/gregross/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/export-error-php-line-238239/#post-4918326)
 * Status: resolved