I see this error appears only the first time I load the page (tested on two browsers, and on Chrome Incognito mode), so this leads me to think there is a conflict with another plugin or maybe the theme you're using.
Do you have WP Rocket, or any other similar plugin that's ignoring java scripts?
Can you pull the server log and see if there are any errors there?
If you are willing to accept the error (for example if you cannot alter the backend system to fix the error), but don't want your end users to see the alert() message, you can change DataTables' error reporting mechanism to throw a Javascript error to the browser's console, rather than alerting it. This can be done using:
Javascript
$.fn.dataTable.ext.errMode = 'throw';
--- end of paragraph ---
How do we get it to accept the error. Hope you can help with that atleast.
Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.
Also, please tell me what's the table ID, and what's the page name where this occurs.
Hi Support,
Been getting the error:
"DataTables warning: table id=table_1 - Ajax error. For more information about this error, please see http://datatables.net/tn/7"
- - on page - - > https://storagedna.com/find-a-reseller/
So, I have tried to accept the error by writing the code below in the "Custom wpDataTables JS" but no use. Please help
Hello Rahul.
I see this error appears only the first time I load the page (tested on two browsers, and on Chrome Incognito mode), so this leads me to think there is a conflict with another plugin or maybe the theme you're using.
Do you have WP Rocket, or any other similar plugin that's ignoring java scripts?
Can you pull the server log and see if there are any errors there?
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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
Hi Alex,
Yes, the issue is specific to first load and to mostly incognito mode.
I checked the server log, but found no errors.
I'm listing the plugins on the site in the next (private) message.
Regards
Hi Alex,
So, as per the last paragraph here at: https://datatables.net/manual/tech-notes/7 as below:
--- start of paragraph ---
If you are willing to accept the error (for example if you cannot alter the backend system to fix the error), but don't want your end users to see the alert() message, you can change DataTables' error reporting mechanism to throw a Javascript error to the browser's console, rather than alerting it. This can be done using:
--- end of paragraph ---
How do we get it to accept the error. Hope you can help with that atleast.
Regards
Sure, Rahul.
I can try implementing this.
Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.
Also, please tell me what's the table ID, and what's the page name where this occurs.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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
Hello again Rahul.
I went in, but after consulting with one of my developers, I have to say that there's no way to implement this:
In the past this issue has been connected with a security plugin, since it's returning 404 - not found (see attachment).
Can you try disabling all plugins and changing your theme to troubleshoot and see if the issue is resolved after you do?
Also, these errors must show up in the server error log, so providing that would be very helpful.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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