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.
I recently faced this problem! And I saw that this issue was raised in 2020. Is there a plan to fix it? Or at least there is a way to solve this problem manually?
Hi Sina, Our apologies for replying so late to your message here, there was an issue with this ticket so we did not see it right away.
Unfortunately, we still did not fix this issue.
Our developers are working on isolating the bug.
They will do their best to build a fix as soon as possible.
We still don't have a realistic ETA on when the fix will be available, but please keep a lookout on our wpDataTables changeLog.
It will be stated there during updates which bug fixes have been implemented at each update. If they create a fix in between updates, I will make sure to send it to you.
2. In regards to a manual workaround : Looking at that old ticket, as you can see, Krzysztof suggested this workaround can be possible for the time being until we release a fix in the future.
Krzysztof wrote in the first message : 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.
So, you can try the Krzysztof's suggested workaround and we will notify you if we create a working fix in between updates in the meantime. I hope it helps.
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
Hi Team,
I recently faced this problem!
And I saw that this issue was raised in 2020. Is there a plan to fix it? Or at least there is a way to solve this problem manually?
I use the latest version
BR
Hi Sina,
Our apologies for replying so late to your message here, there was an issue with this ticket so we did not see it right away.
Our developers are working on isolating the bug.
They will do their best to build a fix as soon as possible.
We still don't have a realistic ETA on when the fix will be available, but please keep a lookout on our wpDataTables changeLog.
It will be stated there during updates which bug fixes have been implemented at each update. If they create a fix in between updates, I will make sure to send it to you.
2. In regards to a manual workaround :
Looking at that old ticket, as you can see, Krzysztof suggested this workaround can be possible for the time being until we release a fix in the future.
Krzysztof wrote in the first message :
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.
So, you can try the Krzysztof's suggested workaround and we will notify you if we create a working fix in between updates in the meantime.
I hope it helps.
Kind Regards,
Miloš Jovanović
[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