Hello, We have installed the latest version of the premium wpDataTables plugin, however, keep getting the following error message on the page which contains the table shortcode. We've narrowed it down to this plugin by deactivation. The issue also presents itself when we try to open or edit an existing table within the plugin itself: There has been a critical error on this website. Learn more about troubleshooting WordPress. Can you please advise as to how we can resolve this issue? Thank you.
I added a short PHP snippet in wpDataTables and saw this error when accessing the table you have:
Fatal error: Uncaught Error: Call to a member function setFilterType() on bool in /home/digitalskills/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php:4635 Stack trace: #0 /home/digitalskills/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php(4580): WPDataTable->prepareRenderingRules(Array) #1 /home/digitalskills/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php(5634): WPDataTable->fillFromData(Object(stdClass), Array) #2 /home/digitalskills/public_html/wp-content/plugins/wpdatatables/source/class.wdtconfigcontroller.php(139): WPDataTable::loadWpDataTable(9, NULL) #3 /home/digitalskills/public_html/wp-content/plugins/wpdatatables/controllers/wdt_admin.php(623): WDTConfigController::loadTableConfig(9) #4 /home/digitalskills/public_html/wp-content/plugins/wpdatatables/controllers/wdt_admin.php(702): wdtEdit() #5 /home/digitalskills/public_html/wp-includes/class-wp-hook.php(324): wdtConstructor('') #6 /home/digitalskills/public_html/wp-includes/class-wp-hoo in /home/digitalskills/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php on line 4635
This error usually occurs when you make a change in the file the table was created from, like:
Changing the column’s name,
Changing the column’s order,
Deleting the column, and
Adding a new column
Unfortunately, if this is the case, you will need to recreate the table again, and please keep in mind the changes mentioned above, like it's mentioned in our documentation. This refers to tables created from Excel, CSV, and Google Spreadsheet files.
Thanks for the reply, Aleksandar. The strange thing is that the file has not been updated or changed since 2022, and that file worked perfectly well until the plugin changed recently when error-checking was introduced.
I've noticed that when I try to import the attached spreadsheet to create a new table, I get the following error message:
"Error! One or more columns doesn't have a header. Please enter headers for all columns in order to proceed."
This is the same error-message I saw with the plugin before the error-checking issue was resolved. This table also has headers for each of the columns as you can see in the attachment, so I'm wondering if this issue is related to the plugin's error-checking issue?
Hello, We have installed the latest version of the premium wpDataTables plugin, however, keep getting the following error message on the page which contains the table shortcode. We've narrowed it down to this plugin by deactivation. The issue also presents itself when we try to open or edit an existing table within the plugin itself: There has been a critical error on this website. Learn more about troubleshooting WordPress. Can you please advise as to how we can resolve this issue? Thank you.
Hello Andy.
This is a generic message, and we can't say exactly what's causing it without inspecting the page.
Firstly, can you please try reinstalling the plugin? You can take a look at the article below:
https://tmsplugins.ticksy.com/article/17656/
If that doesn't help, please provide me with a temporary wp-admin (administrator) access in a PRIVATE response, so I can take a look.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hi again Andy.
I added a short PHP snippet in wpDataTables and saw this error when accessing the table you have:
Fatal error: Uncaught Error: Call to a member function setFilterType() on bool in /home/digitalskills/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php:4635 Stack trace: #0 /home/digitalskills/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php(4580): WPDataTable->prepareRenderingRules(Array) #1 /home/digitalskills/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php(5634): WPDataTable->fillFromData(Object(stdClass), Array) #2 /home/digitalskills/public_html/wp-content/plugins/wpdatatables/source/class.wdtconfigcontroller.php(139): WPDataTable::loadWpDataTable(9, NULL) #3 /home/digitalskills/public_html/wp-content/plugins/wpdatatables/controllers/wdt_admin.php(623): WDTConfigController::loadTableConfig(9) #4 /home/digitalskills/public_html/wp-content/plugins/wpdatatables/controllers/wdt_admin.php(702): wdtEdit() #5 /home/digitalskills/public_html/wp-includes/class-wp-hook.php(324): wdtConstructor('') #6 /home/digitalskills/public_html/wp-includes/class-wp-hoo in /home/digitalskills/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php on line 4635
The line in the file refers to this:
$this->getColumn($column->orig_header)->setFilterType($column->filter_type);
This error usually occurs when you make a change in the file the table was created from, like:
Unfortunately, if this is the case, you will need to recreate the table again, and please keep in mind the changes mentioned above, like it's mentioned in our documentation. This refers to tables created from Excel, CSV, and Google Spreadsheet files.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Thanks for the reply, Aleksandar. The strange thing is that the file has not been updated or changed since 2022, and that file worked perfectly well until the plugin changed recently when error-checking was introduced.
I've noticed that when I try to import the attached spreadsheet to create a new table, I get the following error message:
"Error! One or more columns doesn't have a header. Please enter headers for all columns in order to proceed."
This is the same error-message I saw with the plugin before the error-checking issue was resolved. This table also has headers for each of the columns as you can see in the attachment, so I'm wondering if this issue is related to the plugin's error-checking issue?
Thanks,
Andy
Attached files: All-Resources-V4.2.xlsx
Hi again Andy.
I just created a new table linked to this file without any issues:
Can you please provide me with a temporary wp-admin (Administrator) user in a PRIVATE response, so I can check on your end?
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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