• Resolved andyashwin72

    (@andyashwin72)


    Hello. I have been using custom CSS in the TablePress > Plugin Options to style this table for the past couple of weeks. It is always worked well. Today I made one small change to the CSS and when I tried saving got a “There has been a critical error on this website” message.

    Am I able to uninstall and reinstall the plugin without losing my table and the existing CSS?

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi @andyashwin72,

    Thanks for your post and sorry for the trouble!

    This is indeed cause by bug (newly introduced data type checks are too strict), and this will be fixed in the next release shortly! In the meantime, you can fix this manually, with quick file modifications on your site.

    For that, using e.g. an FTP program or the “Plugin Editor” that is built into WordPress, please find the three files

    /wp-content/plugins/tablepress/libraries/csstidy/class.csstidy.php
    /wp-content/plugins/tablepress/libraries/csstidy/class.csstidy_optimise.php
    /wp-content/plugins/tablepress/libraries/csstidy/class.csstidy_print.php

    and in each of them remove line 11

    declare(strict_types=1);

    Best wishes,
    Tobias

    Thread Starter andyashwin72

    (@andyashwin72)

    Thanks Tobias, that’s perfect.

    That was a scary error message!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped and sorry again for the trouble!

    Best wishes,
    Tobias

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

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi everyone,

    Quick update: I have just released TablePress 3.4.1 which prevents the error from showing 🙂 You should be seeing the update in your site’s admin dashboard shortly.

    For more details, you can find the release notes at https://tablepress.org/release-announcement-tablepress-3-4-1/

    Best wishes,
    Tobias

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

You must be logged in to reply to this topic.