Title: Export Table doesn&#8217;t work
Last modified: June 27, 2023

---

# Export Table doesn’t work

 *  Resolved [potpm](https://wordpress.org/support/users/potpm/)
 * (@potpm)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/export-table-doesnt-work/)
 * I am trying to export a table i am using,but i get this error :
 * **Warning**: Invalid argument supplied for foreach() in ….**/plugin.php** on 
   line **1780**
 * **Warning**: Cannot modify header information – headers already sent by (output
   started at ……/plugin.php:1780) in **/misc.php** on line **1431**
 * The “…” are the complete directory of the website
 * I have the latest version of Tablepress and WordPress, what can i do to fix this?

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/export-table-doesnt-work/#post-16851243)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Is the “plugin.php” file in the error message the file “/wp-admin/includes/plugin.
   php”? If so, the mentioned line 1780 would refer to a PHP function that removes
   an entry from the admin menu, but I can’t see how TablePress would be doing that
   when exporting a table…
 * Instead, something else might be interfering. Can you therefore please try again
   after temporarily deactivating all other plugins and after switching to a WordPress
   default theme like Twenty Twenty? That way, we can find what’s causing this.
 * Regards,
   Tobias
 *  Thread Starter [potpm](https://wordpress.org/support/users/potpm/)
 * (@potpm)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/export-table-doesnt-work/#post-16851273)
 * Thank you for your quick response, i cannot change the default theme and disable
   all the other plugins because the website is live. Is there any other way to 
   troubleshoot this error? Why am i getting an error “Cannot modify header information”?
   Looks weird to me…
 * Thanks in advance
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/export-table-doesnt-work/#post-16851711)
 * Hi,
 * that “Cannot modify header information” error is just a follow-up that happens
   due to the first part of the error. That’s the actual error that we’ll need to
   solve. It would be good to get more detailed error information for that, like
   what exactly is calling this function. You could maybe try something like [https://wordpress.stackexchange.com/questions/296194/how-to-find-cause-of-php-notices-with-no-stack-trace](https://wordpress.stackexchange.com/questions/296194/how-to-find-cause-of-php-notices-with-no-stack-trace)(
   just a quick Google result).
 * Regards,
   Tobias
 *  Thread Starter [potpm](https://wordpress.org/support/users/potpm/)
 * (@potpm)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/export-table-doesnt-work/#post-16857144)
 * I dont know how but after i deactivated and activated again all the plugins, 
   the problem was gone. Thanks for your help, if i encounter this issue again i
   will try it.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/export-table-doesnt-work/#post-16857186)
 * Hi,
 * great! That’s good to hear! Indeed, maybe it was some internal glitch with the
   list of plugins or something. Good to hear that it’s working again!
 * Yes, please let me know if this happens again!
 * Best wishes,
   Tobias

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

The topic ‘Export Table doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/export-table-doesnt-work/#post-16857186)
 * Status: resolved