Okay
  Public Ticket #3772185
Table not always loading
Open

Comments

  •  1
    Uriahs started the conversation

    I updated the plugin yesterday and there seems to be an issue where the table doesn't always load for some users. I had one send me a screenshot of the browser console and attached is the error message the console shows

    Attached files:  PHOTO-2024-11-26-10-09-51.jpg

  •   Miloš replied privately
  •  1
    Uriahs replied

    Can you let me know if this is an issue in the last plugin update? I reverted the site to the old plugin version and the client hasn't reported any issues again. I did no change other than revert to the older version of the plugin.

  •  1,846
    Miloš replied

    Hi Uriahs,

    We can confirm this is not version-related.

    The "invalid JSON response" can only happen for our server-side tables and this issue has been here from the start of our Plugin, since the earliest versions.

    As explained in the previous reply, first check what is the table type, I presume it is either a Manual table or an SQL Query table?



    Then - you can do a test. Purge all cache of the Site, refresh the Page, and now the table should load without any error?

    If that is the case - It is the issue as described, so you probably have some form of active caching on this Page, along with a server-side processing table.



    If it is a Manual Table - You can either disable the cache only for Pages with tables;
    (Caching Plugins usually have that option to exclude specific URL's)
    or disable caching completely for the Site.

    Or, you can make an SQL Query table to call the same data from this source Manual table - and if it has less than 2 thousand rows, you can disable the server-side option and this can work with caching.

    - For Manual tables, you can't disable the server-side option.
    You can refer to the previous reply for the full details on the explanation why this happens and what are the possible solutions.

    Let me know how it goes.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables