We're Moving to a New Support Platform – Starting June 1st!
We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.
You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.
While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.
We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.
Thanks for your continued support and trust – we’re excited to bring you an even better support experience!
My tables hang... See i.e. under "Årsskriftet" and Stickordegister.
I can see following on the console and this has worked before... Thanks in advance. Regards, Serena
Access to font at 'https://wp.lhfnf.dk/wp-content/plugins/wpdatatables/assets/fonts/wpDataTablesIcons.woff' from origin 'https://www.lhfnf.dk' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://wp.lhfnf.dk' that is not equal to the supplied origin.
style.min.css:1 GET https://wp.lhfnf.dk/wp-content/plugins/wpdatatables/assets/fonts/wpDataTablesIcons.woff net::ERR_FAILED 200 (OK)
www.lhfnf.dk/:1 Access to font at 'https://wp.lhfnf.dk/wp-content/plugins/wpdatatables/assets/fonts/wpDataTablesIcons.ttf' from origin 'https://www.lhfnf.dk' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://wp.lhfnf.dk' that is not equal to the supplied origin.
style.min.css:1 GET https://wp.lhfnf.dk/wp-content/plugins/wpdatatables/assets/fonts/wpDataTablesIcons.ttf net::ERR_FAILED 200 (OK)
wdt.frontend.min.js?ver=5.2:20 Uncaught Error: DataTables warning: table id=table_1 - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1
at ea (wdt.frontend.min.js?ver=5.2:20:2029)
at Object.error (wdt.frontend.min.js?ver=5.2:17:932)
at c (jquery.min.js?ver=3.6.1:2:28327)
at Object.fireWith [as rejectWith] (jquery.min.js?ver=3.6.1:2:29072)
at l (jquery.min.js?ver=3.6.1:2:80070)
at XMLHttpRequest.<anonymous> (jquery.min.js?ver=3.6.1:2:82499)
ea @ wdt.frontend.min.js?ver=5.2:20
error @ wdt.frontend.min.js?ver=5.2:17
c @ jquery.min.js?ver=3.6.1:2
fireWith @ jquery.min.js?ver=3.6.1:2
l @ jquery.min.js?ver=3.6.1:2
(anonymous) @ jquery.min.js?ver=3.6.1:2
load (async)
send @ jquery.min.js?ver=3.6.1:2
ajax @ jquery.min.js?ver=3.6.1:2
s.ajax.s.ajax @ jquery-migrate.min.js?ver=3.3.2:2
Qa @ wdt.frontend.min.js?ver=5.2:17
Kb @ wdt.frontend.min.js?ver=5.2:17
ja @ wdt.frontend.min.js?ver=5.2:16
ka @ wdt.frontend.min.js?ver=5.2:16
Aa @ wdt.frontend.min.js?ver=5.2:18
f @ wdt.frontend.min.js?ver=5.2:20
(anonymous) @ wdt.frontend.min.js?ver=5.2:20
each @ jquery.min.js?ver=3.6.1:2
each @ jquery.min.js?ver=3.6.1:2
u @ wdt.frontend.min.js?ver=5.2:20
wdtRenderDataTable @ wdt.frontend.min.js?ver=5.2:471
(anonymous) @ wdt.frontend.min.js?ver=5.2:535
each @ jquery.min.js?ver=3.6.1:2
each @ jquery.min.js?ver=3.6.1:2
(anonymous) @ wdt.frontend.min.js?ver=5.2:535
e @ jquery.min.js?ver=3.6.1:2
t @ jquery.min.js?ver=3.6.1:2
setTimeout (async)
(anonymous) @ jquery.min.js?ver=3.6.1:2
c @ jquery.min.js?ver=3.6.1:2
fireWith @ jquery.min.js?ver=3.6.1:2
fire @ jquery.min.js?ver=3.6.1:2
c @ jquery.min.js?ver=3.6.1:2
fireWith @ jquery.min.js?ver=3.6.1:2
ready @ jquery.min.js?ver=3.6.1:2
$ @ jquery.min.js?ver=3.6.1:2
Hi, Serena.
Sorry for the delayed response.
- Thank you for sending us these error messages, we can see the issues from the error text.
You will have to solve both this 'blocked by CORS policy' error,
and the invalid JSON response from these error messages.
1. Regarding the error related to the CORS policy:
'has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header'
Blocks by CORS policy must be resolved on the server, so please reach out to the hosting provider support to resolve this.
Once you resolve this, please do this:
Deactivate wpDataTables, clear cache,
then re-activate wpDataTables, clear cache again.
You can clear the cache with a plugin such as "W3 Total Cache" or any other cache plugin,
also clear your browser cache and cookies.
2. You also have this error / invalid JSON response :
Uncaught Error: DataTables warning: table id=table_1 - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1
-
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 the 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.
( If you use a caching plugin - most of them have a setting to exclude pages, add any pages with tables to be excluded)
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.
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 | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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