• I have this error for a few days, when reloading the page it works. The problem is that it cannot be edited. I migrated the site to a load balancer, and on the nodes an ssl certificate is used.

    Error:
    “DataTables warning: table id=table_1 – Invalid JSON response. For more information about this error, please see https://datatables.net/tn/1”

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author wpDataTables

    (@wpdatatables)

    Hello there.

    This issue occurs when the response received from our admin-ajax call isn’t recognized as a valid JSON response.

    It is often caused by changing the structure of the source file, from which the table was created.

    If you reorder, rename, delete or add new columns, the table will not work anymore, and you will need to recreate it again.

    Can you please verify if any of the above changes were applied to the table?

    Thread Starter aaronarguello

    (@aaronarguello)

    Thanks for your answer. I believed that, therefore, I loaded the tables again to solve the problem and this happens to me:
    The table loads sometimes, i.e. I have to reload the page for it to work. I think it has to do with load balancing but I’m not sure.

    Plugin Author wpDataTables

    (@wpdatatables)

    Hi again.

    How big is that table?

    When using external data source, it is not recommended for tables to exceed 2.000 – 3.000 rows, as the table’s loading time will increase until eventually it breaks.

    This mostly depends on your hosting plan and server performance.

    “table id=table_1 – Invalid JSON response” Same error
    Hi can you tell me how to solve this issue?, i have version 2.7.2 (assume i dont want to update this plugin)and am using listingpro theme. Hosted on a wordpress hosting with cloudflare CDN activated on Siteground

    Is it possible that it is the fault of CDN?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Invalid JSON response’ is closed to new replies.