1. I have activated master-detail in the table based on query.
2. Every time when I change query (adding a new column) i have error:
Fatal error: Uncaught Error: Call to a member function setFilterType() on boolean in /wp-content/plugins/wpdatatables/source/class.wpdatatable.php:3021
After my investigation:
1.When i add new column in query, master-detail row in the table 'wp_wpdatatables_columns' (column orig_header = 'masterdetail')
is change position to zero (column 'pos' = 0).
2. Because of this there are two rows in the same table with the same postiton
(column 'pos' = 0).
3. Two elements with the same position cause error.
4. There is workaround (changing position for masterdetail from zero to the next free position), but this is annoying bug. Every time when i change query i have do this workaround.
Greetings,
There is a bug in the Master-Detail plugin.
For example:
1. I have activated master-detail in the table based on query.
2. Every time when I change query (adding a new column) i have error:
Fatal error: Uncaught Error: Call to a member function setFilterType() on boolean in /wp-content/plugins/wpdatatables/source/class.wpdatatable.php:3021
After my investigation:
1.When i add new column in query, master-detail row in the table 'wp_wpdatatables_columns' (column orig_header = 'masterdetail')
is change position to zero (column 'pos' = 0).
2. Because of this there are two rows in the same table with the same postiton
(column 'pos' = 0).
3. Two elements with the same position cause error.
4. There is workaround (changing position for masterdetail from zero to the next free position), but this is annoying bug. Every time when i change query i have do this workaround.
Best regards,
Krzysztof
Hello again Krzysztof.
Thank you for pointing that out to us.
The issue has been forwarded to our lead developer, so he'll be working on fixing that issue for the next update.
I can't say when it will be implemented, but I hope it will be soon.
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
I am suffering this issue now, looks like it didn't get resolved.
Hey Duncan
This still tends to happen from time to time, but our developers are aware and are working on a solution.
Hopefully it will be included in the next update, but I can't promise anything.
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