Okay
  Public Ticket #3661429
Critical Error After Updating to 6.5
Closed

Comments

  • Steven Cameron started the conversation

    I was using wpDataTables to display leaderboards for our escape rooms. After updating to version 6.5, I receive a critical error on this page.

  •  1,846
    Miloš replied

    Hi Steven,

    Do you have any Formula column on that table?

    If that is the case, 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 :

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

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

  • Steven Cameron replied

    I have a Formula.

    I updated the file, and everything appears to be working again.

    Thank you.

  •   Miloš replied privately