• Resolved olepetterpedersen

    (@olepetterpedersen)


    Have used TablePress for my small, private community page for many years. Recently, my ISP demanded that PHP be upgraded to 8.0. Around the same time, I started getting this message every time I uploaded a new table:

    Warning: set_time_limit(): Cannot set max execution time limit due to system policy in /customers/1/f/e/ligakonkurransen.no/httpd.www/wp/wp-content/plugins/tablepress/classes/class-import.php on line 80 Warning: Cannot modify header information – headers already sent by (output started at /customers/1/f/e/ligakonkurransen.no/httpd.www/wp/wp-content/plugins/tablepress/classes/class-import.php:80) in /customers/1/f/e/ligakonkurransen.no/httpd.www/wp/wp-includes/pluggable.php on line 1416 Warning: Cannot modify header information – headers already sent by (output started at /customers/1/f/e/ligakonkurransen.no/httpd.www/wp/wp-content/plugins/tablepress/classes/class-import.php:80) in /customers/1/f/e/ligakonkurransen.no/httpd.www/wp/wp-includes/pluggable.php on line 1419

    Before I start fiddling around with the php-files in order to try to make TablePress work again, is there an obvious answer to these problems?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Nice catch! Normally, you should be seeing this warning on a production system, but it also appears that I can prevent it from showing. I’ll add the code for that in the next release.

    In the meantime, you can already do that on your site very easily:

    Please edit the file /wp-content/plugins/tablepress/classes/class-import.php and change line 80 to

    @set_time_limit( 300 );

    (i.e. prepend an @ at the beginning).

    Regards,
    Tobias

    Thread Starter olepetterpedersen

    (@olepetterpedersen)

    Brilliant, that worked wonders. Thank you so much!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can not upload table in PHP 8.0 – error message’ is closed to new replies.