As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #2549931
Fatal Error: Uncaught Error: Call to a member function setFilterType() on bool
Closed

Comments

  • Suckerpunch started the conversation

    Hello,

    I'm not sure of the circumstances of this error, it seems to occur when re-uploading an excel file.

    I get the follow error when attempting to edit the form, and this error becomes unrecoverable -- I have to delete the table and start again.

    Fatal error: Uncaught Error: Call to a member function setFilterType() on bool
    in [PATH OBSCURED]/wp-content/plugins/wpdatatables/source/class.wpdatatable.php on line 3031

    Call stack:

    1. WPDataTable::prepareRenderingRules() wp-content/plugins/wpdatatables/source/class.wpdatatable.php:3008
    2. WPDataTable::fillFromData() wp-content/plugins/wpdatatables/source/class.wpdatatable.php:3726
    3. WPDataTable::loadWpDataTable() wp-content/plugins/wpdatatables/source/class.wdtconfigcontroller.php:97
    4. WDTConfigController::loadTableConfig() wp-content/plugins/wpdatatables/controllers/wdt_admin.php:532
    5. wdtEdit() wp-content/plugins/wpdatatables/controllers/wdt_admin.php:592
    6. wdtConstructor() wp-includes/class-wp-hook.php:287
    7. WP_Hook::apply_filters() wp-includes/class-wp-hook.php:311
    8. WP_Hook::do_action() wp-includes/plugin.php:478
    9. do_action() wp-admin/admin.php:259



  •  2,576
    Aleksandar replied

    Hello Lee

    You cannot re-upload an Excel file to modify the table.

    To change the table linked to an existing data source, you would need to replace the file in ../wp-content/uploads/YEAR/MONTH/ folder. The file should be named the same, and the structure cannot be changed.

    So, if you add, delete, rename or reorder existing columns, the table will break.

    Kind Regards, 

    Aleksandar Vuković
    [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