• Resolved jaffa12

    (@jaffa12)


    Hi I am getting this error on several pages that have tables – not all pages and most tables do display but on a few pages I get a CRITICAL ERROR message showing and nothing else displays on the page.

    Debug error message as below:

    WordPress version 6.5.3
    
    Active theme: Twenty Twenty (version 2.6) Current plugin: wpDataTables - Tables & Table Charts (version 3.4.2.15) PHP version 7.4.33
    
    Error Details
    
    =============
    
    An error of type E_ERROR was caused in line 2509 of the file /home/nzmhsorg/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php. Error message: Uncaught Error: Call to a member function setFilterType() on bool in /home/nzmhsorg/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php:2509
    
    Stack trace:
    
    #0 /home/nzmhsorg/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php(2487): WPDataTable->prepareRenderingRules(Array)
    
    #1 /home/nzmhsorg/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php(3060): WPDataTable->fillFromData(Object(stdClass), Array)
    
    #2 /home/nzmhsorg/public_html/wp-content/plugins/wpdatatables/source/class.wdtconfigcontroller.php(98): WPDataTable::loadWpDataTable(4, NULL)
    
    #3 /home/nzmhsorg/public_html/wp-content/plugins/wpdatatables/controllers/wdt_admin.php(634): WDTConfigController::loadTableConfig(4)
    
    #4 /home/nzmhsorg/public_html/wp-content/plugins/wpdatatables/controllers/wdt_admin.php(671): wdtEdit()
    
    #5 /home/nzmhsorg/public_html/wp-includes/class-wp-hook.php(324): wdtConstructor('')
    
    #6 /home/nzmhsorg/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Ar

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wpDataTables

    (@wpdatatables)

    Hello,
    The error seems to be pointing to a piece of code in regards to using our column filters.
    That is strange, because in the free/Lite version of our Plugin, advanced column filters are not available.
    Can you please confirm are you using our free/Lite wpDataTables or do you perhaps have the premium/full Plugin version and do you have some advanced column filters set up in that case?

    If you have the full/premium version, please open a ticket on our?main Support platform here, and one of our Agents will respond as quickly as possible.

    If you don’t have a licence (or if it expired), please open a pre-purchase ticket which doesn’t require a purchase code.

    Premium products are not supported in these forums, as per this comment by www.remarpro.com moderators.

    Or, if you are using the Lite Version, it is still best to open a ticket on the main Support platform there, so our Agents will ask you additional questions and we can inspect more details, which we won’t be able to achieve via this public post.

    Kind regards.

    Plugin Author wpDataTables

    (@wpdatatables)

    Hello again,
    We just wish to write a public note here, for other users to be aware of, if they encounter the same issue.
    In this case, in short, one of the Tables on the Page has too many rows for WordPress and the Hosting server to handle with our Free Plugin version.

    Jeff had multiple tables on the same page, all tables are linked from an Excel source file from the WordPress Library.
    We started isolating each table one by one, and right away, the first Table’s Excel source, we discover it has almost 10 thousand rows.

    So please note for other users :
    If you use the free/Lite version of the Plugin and if your source Excel or CSV file has around a couple thousand rows, you can try our Cache and Auto-Update Cache Feature;


    This can help with performance, but only up to around 5 to 6 thousand rows.
    If your file gets larger than that, and if you reach the limits of your Hosting Server ( such as extremely slow load or crash of the Page), then you would need to try the premium Plugin’s server-side processing, there is no other way to solve that specific issue.

    The reason is, with non-server-side tables, all the rows are loading at the same time via the HTML of the browser Page;
    compared to server-side processing Tables, they use an AJAX call to only load one Table’s page at a time, which is useful for very large tables, but that would require you to move to SQL-based Tables and import your Excel/CSV data in the Database.

    We are unable to go into further detail about that here since this Forum is only for the Lite Plugin Support.
    If any user needs more details about that, please open a ticket on our?main Support platform here and one of our Agents will respond as quickly as possible.

    If you don’t have a licence (or if it expired), please open a pre-purchase ticket which doesn’t require a purchase code.

    Premium products are not supported in these forums, as per this comment by www.remarpro.com moderators.

    Thank you for understanding. 

    Kind regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Critical Error’ is closed to new replies.