Hey everyone!

With the Labour Day holidays coming up, we’d like to let you know about our upcoming working hours:

Thursday, May 1st: Our team will be off during Labour Day.
Friday, May 2nd: We'll also be off for an extended holiday break.

We’ll be back on Monday, May 5th, ready to respond to all messages received during this time.

In the meantime, if you need help, feel free to:

https://www.youtube.com/@AmeliaWordPressBookingPlugin/videos

https://www.youtube.com/@wpDataTables/videos

Thank you for being so understanding, and we hope you enjoy the long weekend! 

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ć
    aleksandar.vukovic@tmsproducts.io

    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