• Resolved potpm

    (@potpm)


    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

    (@tobiasbg)

    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

    (@potpm)

    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

    (@tobiasbg)

    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 (just a quick Google result).

    Regards,
    Tobias

    Thread Starter potpm

    (@potpm)

    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

    (@tobiasbg)

    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.