Comments Robert Barnes started the conversationJuly 6, 2022 at 7:39amThe featured image modal in the Gutenberg editor is broken when the page contains any wpDataTables shortcode that have filters enabled.We are using the latest version of the plugin 4.4Please see attached screenshot 1,851Miloš repliedJuly 7, 2022 at 8:56pmHi, Robert Sorry for the delayThe developers isolated the issue. There is a modification of the code that needs to be done. They did it on our testing site and for us it works on our testing when we replicate the issue, but please apply this to your site. The problem is with Gutenberg and the tables on the page that are editable. The devs will work to add a permanent fix as part of the plugin, but for now, until they finish, you will have to repeat this process during updates. Please open this PHP file with any text/code editor : wp-content/plugins/wpdatatables/source/class.wpdatatable.php around line 2996 we changed this : if ($this->isEditable()) { wp_enqueue_media(); } and replaced it with this: if (!(is_admin() && function_exists('register_block_type') && (substr($_SERVER['PHP_SELF'], '-8') == 'post.php' || substr($_SERVER['PHP_SELF'], '-12') == 'post-new.php')) && $this->isEditable()) { wp_enqueue_media(); } Please save these changes, and check if everything works now, let me know how it goes and if you have any questions. Thank youKind Regards, Miloš Jovanović[email protected] Rate my supportTry 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 Robert Barnes repliedJuly 8, 2022 at 7:40amHello Milos,I have applied the changes mentioned and the issue is now fixed.Will this be included on the next plugin update? 1,851Miloš repliedJuly 12, 2022 at 2:50pmHi, Robert Sorry for another delay-The developers are still testing everything out, so i can't guarantee it would be included in the next Update;It should be very soon, in one of the next updates;You can check this changeLog page during Updates, ( it is also available in plugin dashboard) and see if they placed a "bug fix notice" about this there;if not, you will have to repeat this process again.Let me know if you have any questions. ThanksKind Regards, Miloš Jovanović[email protected] Rate my supportTry 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 Sign in to reply ...
The featured image modal in the Gutenberg editor is broken when the page contains any wpDataTables shortcode that have filters enabled.
We are using the latest version of the plugin 4.4
Please see attached screenshot
Hi, Robert
Sorry for the delay
The developers isolated the issue.
There is a modification of the code that needs to be done.
They did it on our testing site and for us it works on our testing when we replicate the issue, but please apply this to your site.
The problem is with Gutenberg and the tables on the page that are editable.
The devs will work to add a permanent fix as part of the plugin, but for now, until they finish, you will have to repeat this process during updates.
Please open this PHP file with any text/code editor :
wp-content/plugins/wpdatatables/source/class.wpdatatable.php
around line 2996 we changed this :
and replaced it with this:
Please save these changes, and check if everything works now,
let me know how it goes and if you have any questions. Thank you
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
Hello Milos,
I have applied the changes mentioned and the issue is now fixed.
Will this be included on the next plugin update?
Hi, Robert
Sorry for another delay
-
The developers are still testing everything out, so i can't guarantee it would be included in the next Update;
It should be very soon, in one of the next updates;
You can check this changeLog page during Updates, ( it is also available in plugin dashboard)
and see if they placed a "bug fix notice" about this there;
if not, you will have to repeat this process again.
Let me know if you have any questions. Thanks
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