After updating from v6.4 to v6.5 our site has crashed, error log gives following messages:
PHP Fatal error: require_once(): Failed opening required 'class.formula.wpdatacolumn.php' (include_path='.:/opt/alt/php74/usr/share/pear') in //***/wp-content/plugins/wpdatatables/source/class.wpdatacolumn.php on line 874
WordPress 6.5.3 PHP 7.4.33 MySQL 10.6.17-MariaDB LiteSpeed server
// Include Hidden Column
if (is_file(WDT_INTEGRATIONS_PATH . 'hidden-column/wdt-hidden-column-integration.php')) {
require_once(WDT_INTEGRATIONS_PATH . 'hidden-column/wdt-hidden-column-integration.php');
}
Beneath that, add this :
// Include Formula Column
if (is_file(WDT_INTEGRATIONS_PATH . 'formula-column/wdt-formula-column-integration.php')) {
require_once(WDT_INTEGRATIONS_PATH . 'formula-column/wdt-formula-column-integration.php');
}
So in the end, that part of the code in its entirety should look like this :
Save the changes of the file, then purge cache on your site and refresh the Page with the table, it should be fixed.
Let us know how it goes.
If you need us to edit this code for you, we would need WP Administrator user credentials along with FTP credentials and send me an URL of a Page with the table so that we can test if it is solved.
If you send us access, please make sure it is in a PRIVATE Reply for security reasons, then only we can see the details.
After updating from v6.4 to v6.5 our site has crashed, error log gives following messages:
PHP Fatal error: require_once(): Failed opening required 'class.formula.wpdatacolumn.php' (include_path='.:/opt/alt/php74/usr/share/pear') in //***/wp-content/plugins/wpdatatables/source/class.wpdatacolumn.php on line 874
WordPress 6.5.3
PHP 7.4.33
MySQL 10.6.17-MariaDB
LiteSpeed server
Hi Elvis,
We can confirm this is a bug on our end for version 6.5.
It is related to the Formula Column not properly rendering on the front-end.
Our developers have a temporary workaround fix which you can apply.
They will work to build the final version of this fix and to add it if possible to the next update as soon as possible.
If you wish to apply this fix, please follow these steps :
Find this PHP file in our Plugin via FTP or your Hosting's File Manager ( or you can install a file manager Plugin), in this path :
../wp-content/plugins/wpdatatables/integrations/wdt-integrations-loader.php
around line 65 find this piece of code :
Beneath that, add this :
So in the end, that part of the code in its entirety should look like this :
Save the changes of the file, then purge cache on your site and refresh the Page with the table, it should be fixed.
Let us know how it goes.
If you need us to edit this code for you, we would need WP Administrator user credentials along with FTP credentials and send me an URL of a Page with the table so that we can test if it is solved.
If you send us access, please make sure it is in a PRIVATE Reply for security reasons, then only we can see the details.
Thank you.
Kind Regards,
Miloš Jovanović
[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 Elvis,
I am happy to report, our developers released a small update today which contains this fix in version 6.5.1.
Can you please update wpDataTables now and this issue should be fixed?
If you need help with the update, please follow our Guide from this article : Updating the plugin to the latest version.
Thank you.
Kind Regards,
Miloš Jovanović
[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