• Resolved janaa

    (@janaa)


    Hi Tobias

    I’m hoping you might have a quick suggestion regarding my strange problem.

    When I am logged in as administrator, and display the page, my table data correctly shows the updated version.

    BUT when I am logged out, an old (outdated) version of my table data is displaying. This is true on 3 browsers – Chrome, Firefox and Safari, even after clearing the browser cache. And of course, clearing my Litespeed cache.

    I have checked and believe it’s not a problem with my Litespeed cache plugin, but I could be wrong.

    See https://imgur.com/a/RYfKBzV which shows a snapshot of both the incorrect/outdated version of the table data for a cellphone violation and the correct data (when you use the search box to search on “cell”).

    I followed your instructions for diagnosing JavaScript Errors and get the error:-
    “[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as ‘passive’ to make the page more responsive. See <URL>”
    … though that is beyond my comprehension. I have no idea what it means. Does it mean anything to you?

    I have been using your plugin for years and love it, but have never noticed this problem until now.

    I have a test copy of the website with a slightly different set of plugins and an older version of the content. The test copy of the website does have the Litespeed cache plugin. The table content behaves correctly on this test copy of the website! But on superficial inspection, I cannot see the key differences which could explain why one site works correctly but not the other.

    I’m sorry to trouble you with this. Do you have any suggestions?

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

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This then looks like a problem with TablePress’ internal cache (the generated HTML is cached as a “transient” in the wp_options database table, so that it doesn’t have to be re-rendered on every load of the table).

    You could turn that off for the affected table by adding another parameter to the Shortcode on that page:

    [table id=1 cache_table_output=false /]
    

    You could also remove old/stale caching entries from the wp_options database table, with a tool like phpMyAdmin. You would need to remove all entries with an option_name that start with _transient_tablepress_ and _transient_timeout_tablepress_.

    Regards,
    Tobias

    Thread Starter janaa

    (@janaa)

    Adding another parameter to the Shortcode on that page:

    [table id=1 cache_table_output=false /]

    has fixed the problem. Yaye! Thank you!! 🙂

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

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

    Note that is only works around the symptoms, so deleting those transients and check if everything works again then (without the extra Shortcode parameter) would still be a good idea.

    Best wishes,
    Tobias

    Thread Starter janaa

    (@janaa)

    Tobias, thank you so much for your care and thoroughness. Tomorrow I will take your advice and delete those transients and remove the extra Shortcode parameter then test again.

    What fantastic support for a great plugin 🙂

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    always happy to help! 🙂

    Best wishes,
    Tobias

    Thread Starter janaa

    (@janaa)

    Hi Tobias

    I followed your advice – deleted those transients, removed the extra Shortcode, and tested again. All is working correctly! 🙂

    What would I do without your guidance? Thank you!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    awesome! Thanks a lot for checking this! Good to hear that everything is working again now 🙂

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Content update only shows when I am logged in’ is closed to new replies.