• Resolved idwebagence

    (@idwebagence)


    Hi,
    When i try to edit or set up an existing excel table, i’ve got this error.

    WordPress Environment
    WP Version:6.2.2
    WP Multisite:No

    Server Environment
    Operating System:Linux
    Server Info:Apache
    PHP Version:7.4.33

    No plugin out of date.

    Fatal error: Uncaught Error: Call to a member function setFilterType() on bool in /home/www/wp-content/plugins/wpdatatables/source/class.wpdatatable.php:2443 Stack trace: #0 /home/www/wp-content/plugins/wpdatatables/source/class.wpdatatable.php(2421): WPDataTable->prepareRenderingRules(Array) #1 /home/www/wp-content/plugins/wpdatatables/source/class.wpdatatable.php(2991): WPDataTable->fillFromData(Object(stdClass), Array) #2 /home/www/wp-content/plugins/wpdatatables/source/class.wdtconfigcontroller.php(98): WPDataTable::loadWpDataTable(2, NULL) #3 /home/www/wp-content/plugins/wpdatatables/controllers/wdt_admin.php(626): WDTConfigController::loadTableConfig(2) #4 /home/www/wp-content/plugins/wpdatatables/controllers/wdt_admin.php(663): wdtEdit() #5 /home/www/wp-includes/class-wp-hook.php(308): wdtConstructor(”) #6 /home/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #7 /home/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /home/www/wp-admin/admin.php(259): do_action(‘wpdatatables_p in /home/www/wp-content/plugins/wpdatatables/source/class.wpdatatable.php on line 2443

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

Viewing 1 replies (of 1 total)
  • Plugin Author wpDataTables

    (@wpdatatables)

    Hello.
    If we understand, this is a table linked to Excel source data?
    The line of code from the error seems to indicate to an incorrect filter type set for one or more columns.
    Can you please try ( as a test) to make a new table from the same Excel file,
    see if this table generates and loads without errors?
    If that happens, can you please check did you make any of these changes to the Excel which was linked to the existing Table :

    Once you create a table from an Excel file, changes in this file, like:

    • Changing the column’s name,
    • Changing the column’s order,
    • Deleting the column, and
    • Adding a new column.

    are highly not recommended, because the table in the wpDataTable plugin will not work, at the moment. If you make any of these changes, please recreate the table again.
    Let us know if that helped.
    Kind regards.

Viewing 1 replies (of 1 total)

The topic ‘Fatal error on wpdatatable edition’ is closed to new replies.