Issues with wpDataTables Plugin
-
We have recently purchased a wpDataTables license and are running into some issues in using the plugin, even though we had used the same plugin with another hosting company with no problem. I’m wondering if anyone had similar issues and how we can resolve these issues. Thanks in advance!
ISSUE 1: All admin-ajax.php responses are empty
Every AJAX request made by the wpDataTables plugin returns an empty HTTP 200 response body. This affects both table configuration saves and server-side data fetching. The same behavior occurs on both PHP 8.4 and PHP 8.2.
Additionally, during earlier debugging we found that the hosting environment is pre-defining WordPress constants (WP_DEBUG_DISPLAY and WP_MEMORY_LIMIT) before wp-config.php loads, causing “Constant already defined” warnings that were being injected into AJAX responses and breaking JSON parsing. We have worked around this with guarded define() calls, but the underlying empty response issue persists.
The empty responses suggest something in the WordPress.com server environment may be terminating PHP execution before AJAX handlers can send output. The register_shutdown_function does not fire during these requests, which points to a server-level process termination rather than a PHP-level exit.
—
ISSUE 2: rtc.js crash breaking the Gutenberg block editor
The following error appears in the browser console on every Gutenberg editor page:
Uncaught TypeError: Cannot read properties of undefined (reading ‘Y’)
at rtc.js?minify=false
This crash is preventing third-party Gutenberg blocks (specifically wpDataTables) from rendering their block controls. The block appears in the inserter but shows no UI — only generic transform options.
A secondary error also appears:
/wp-json/wpcom/v2/ex…cent&_locale=user — Failed to load resource: 500
The blog I need help with is: (visible only to logged in users)
-
Hi there,
Regarding issue 2, could you look at WP Admin > Settings > Writing and tell me whether “Enable early access to real-time collaboration” is toggled on?If the toggle is on, switch it off, reload the editor, and see whether wpDataTables’ block controls come back.