Okay
  Public Ticket #2716946
Error on page due to table
Closed

Comments

  • Al started the conversation

    Hi, some of my readers complain that they are not able to see the tables and they get this error. Please can you let me know what I need to do to ensure everyone can see the tables without any issues. Thank you.

  • [deleted] replied

    Hi Al

    Thank you for reaching out to us.

    These errors can happen for a few reasons, but they always happen for server side tables (MySQL, manual or imported tables).

    Check if you have any errors, notices, warnings in your console. If there are, resolve them first, because they are interrupting wpDataTables' admin-ajax calls and the errors returned are referring to either bad Ajax or bad JSON response.

    Another thing that could be causing this is cache. If the data is being cached on the page, the returned data is not the same, or not at least what wpDataTables is expecting to see, so the error occurs. Try clearing all cache from your website and browser, and then prevent the pages containing wpDataTables from being cached.

    Last, it could be the data in the table(s) - if the data is not the type that it should be (for example, a non-numerical value in an integer or a float column), or if the data has been changed for a formula column. Try creating a new table from the source table and see if it's going to cause errors. If it doesn't (after excluding cache as the cause), look for differences between data, filters, etc.

    I hope that helps.