Okay
  Public Ticket #3660177
Critical Error Wp Data Tables
Closed

Comments

  • Rafail started the conversation

    Hello, I have a problem with my website about the wpdatatable plugin. Today I updated the plugin from 6.4 to 6.5 version and I have a critical error like this (Fatal error: Uncaught Error: Failed opening required 'class.formula.wpdatacolumn.php' (include_path='.:/opt/plesk/php/8.2/share/pear')
    in /var/www/vhosts/cranky-archimedes.194-180-176-43.plesk.page/httpdocs/wp-content/plugins/wpdatatables/source/class.wpdatacolumn.php on line 874) in one of my pages when I try to insert a specific wptable with shortcode. Also the page displays me a text like this "

    '); printWindow.document.close(); printWindow.print();
    //location.reload(); });
    });

    " at the top of the page in front end on the browser. What can I must to do to solve this ?

  • David Burley replied

    I have the same and have reported it, looks like a bug in the 6.5 build

  •  1,819
    Miloš replied

    Hi guys;

    We will 'merge' both tickets as two cases of the same issue/bug.

    I am able to reproduce this on my Test Website, only for version 6.5, for version 6.4 it does not happen.

    As you described, if we create any Formula Column, it loads on back-end but on front-end it throws that critical error.

    3895169432.png

    If I reroll the version to 6.4, the error goes away.

    I will send the older version installation to David on his private ticket, but for you @Rafail, you did not confirm your active licence purchase code here; so we won't be able to do it for you on this specific ticket.

    If you wish us to send you the 6.4 installation, please open a new private ticket and confirm your purchase code there, if you purchased it from our TMS Store;

    or if you purchased from the Envato ( CodeCanyon) then confirm the licence key or send us a copy of the invoice there, then we can send you the older version as a temporary measure.


    Our QA Team and the Developers are working to fix this though, as soon as we have a fix, we will send it on both tickets as quickly as possible.

    Thank you for reporting this and for your patience.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •  1,819
    Miloš replied

    Hello again,

    We wrote this on the other ticket created by David, but in case if any other users come across it here, just going to pass the update :


    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 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 :

    // 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 :

    6481497383.png

    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.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  • Rafail replied

    Hello again, unfortunately I can not change any code form my file manager system because this tactic is not correct . The website is in progress and is not live yet but in a few days it will be live. Please update the plugin to fix this bug. Thanks.

  •  1,819
    Miloš replied

    Hi Rafail,

    I am happy to report, our developers released a small update today which contains this fix in version 6.5.1.

    7152086710.png

    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 | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  • Rafail replied

    Hello again, Thank you for your support. 


  •   Miloš replied privately