I planned to buy your plugin, but I just can’t create a table from Excel because of the constantly occurring error "Column 'pos' cannot be null". For the test, I used different versions of the tables, but the error constantly repeats and in some columns the values disappear. What can be done with this problem?
I'm encountering the same error when attempting to 'replace source with source data' or 'replace the entire table...' : 'Column 'pos' cannot be null'. I've never had this issue before (just updated the plugin version). If I create a new table using the same method, it works fine, but not with old tables. Please assist.
thanks for the answer Aleksandar, my headers had unique names, in fact I had been always using and updating those tables in the same way and worked fine.
To me the problem was the updated version on old tables.
I had an old version of the plugin for a while (my license was expired) and it was working fine, but now I bought it again to update it and after updating it, to replace the rows "Replace rows with source data" (from a link in a google sheet) didn't work anymore ('Column 'pos' cannot be null) and it even fails if I try to replace the entire table "Replace the entire table with the source".
The way I managed to do it was if I manually deleted the columns of the table, and then replaced the entire table "Replace the entire table with the source". Which is basically like creating a new table (by the way, if I create new tables using the same method, it works fine. Also If I replace the content of those new tables), but as the table was embedded in many pages of my site I needed the ID not to be modified so I had to do this tedious process in the 34 tables I have.
As I wasn't able to replicate this issue, and it's usually related to the column headers, I can't say if our developers will be able to create a permanent fix, but I'll ask them to revisit this case.
I write in hope that my post will help those with the same error and also the TMS team with solving the issue.
I had the same problem as Manuel and spent several hours trying to find a solution,
I also believe the problem appeared after an update,
How i got the error:
On a table created in a previous version I tried to do an import using the option "Replace rows with source data".
The result was:
"Column 'pos' cannot be null"
How i fixed it:
I went in the database and did a select in the table "wpdatatables_columns" . There is a column pos.
I noticed that there were a few headers with duplicate pos. (Image attached. The section that is blacked out contains my columns.) The last headers "wdt_created_by", "wdt_created_at", "wdt_last_edited_by" and "wdt_last_edited_at" WERE NOT THERE before my import. The import probably created them with an incorrect pos.
I replaced the pos on the last 4 headers with the values 14, 15, 16, 17 and it appears to be working fine.
Please make sure to send this finding to your development team, since the import functionality is crucial to so many of us.
This is really valuable info and I'll forward it to our developers for review. As soon as I hear from them, I'll respond to this ticket, to notify everyone about the status of this issue.
I planned to buy your plugin, but I just can’t create a table from Excel because of the constantly occurring error "Column 'pos' cannot be null". For the test, I used different versions of the tables, but the error constantly repeats and in some columns the values disappear. What can be done with this problem?
Hello Alexander.
Thank you for your interest in our plugin, and sorry for the inconvenience.
Can you please send me the file you tried to use to create the table with, so I can test it in my local environment?
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 sent you two examples by e-mail and message of WP with link to error in plugin. Thank you for your help!
You're welcome, Alexander.
I hope we can get to the bottom of this.
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
Hello Aleksandar!
Have you some news for me?
Best regards,
Alexander.
Hi Alexander
I sent you an e-mail this morning. Can you please check your inbox?
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
Thank you, Aleksandar!
I found your message right now.
Thanks a lot Aleksandar!
All work correctly now!
I am having the same issue, can you share the fix?
I'm encountering the same error when attempting to 'replace source with source data' or 'replace the entire table...' : 'Column 'pos' cannot be null'. I've never had this issue before (just updated the plugin version). If I create a new table using the same method, it works fine, but not with old tables. Please assist.
Hello Manuel.
In Alexander's case, only the headers of the source file needed to have unique names. After that, the table started working normally.
Please try this, and if you still can't resolve the issue, open a private ticket, so you can share the file with us.
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 answer Aleksandar, my headers had unique names, in fact I had been always using and updating those tables in the same way and worked fine.
To me the problem was the updated version on old tables.
I had an old version of the plugin for a while (my license was expired) and it was working fine, but now I bought it again to update it and after updating it, to replace the rows "Replace rows with source data" (from a link in a google sheet) didn't work anymore ('Column 'pos' cannot be null) and it even fails if I try to replace the entire table "Replace the entire table with the source".
The way I managed to do it was if I manually deleted the columns of the table, and then replaced the entire table "Replace the entire table with the source". Which is basically like creating a new table (by the way, if I create new tables using the same method, it works fine. Also If I replace the content of those new tables), but as the table was embedded in many pages of my site I needed the ID not to be modified so I had to do this tedious process in the 34 tables I have.
I had already created the ticket, the 3645404.
Thank you for the explanation, Manuel.
I'll check out the ticket you submitted, but I can't quite understand if you were able to solve the issue in the end or if you're still facing it.
Please let me know if this still requires our attention.
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 couldn't wait for the fix, so I redid all the tables myself. I no longer need the fix, but may be some one does... cheers!
Alright, Manuel, thanks for letting me know.
As I wasn't able to replicate this issue, and it's usually related to the column headers, I can't say if our developers will be able to create a permanent fix, but I'll ask them to revisit this case.
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
Dear Aleksandar,
I write in hope that my post will help those with the same error and also the TMS team with solving the issue.
I had the same problem as Manuel and spent several hours trying to find a solution,
I also believe the problem appeared after an update,
How i got the error:
On a table created in a previous version I tried to do an import using the option "Replace rows with source data".
The result was:
"Column 'pos' cannot be null"
How i fixed it:
I went in the database and did a select in the table "wpdatatables_columns" . There is a column pos.
I noticed that there were a few headers with duplicate pos. (Image attached. The section that is blacked out contains my columns.) The last headers "wdt_created_by", "wdt_created_at", "wdt_last_edited_by" and "wdt_last_edited_at" WERE NOT THERE before my import. The import probably created them with an incorrect pos.
I replaced the pos on the last 4 headers with the values 14, 15, 16, 17 and it appears to be working fine.
Please make sure to send this finding to your development team, since the import functionality is crucial to so many of us.
Kind regards,
Alexandru
Attached files: TMS-Error.PNG
Hey Alexandru, thank you!
This is really valuable info and I'll forward it to our developers for review. As soon as I hear from them, I'll respond to this ticket, to notify everyone about the status of this issue.
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
Hello everyone.
Our developers weren't able to replicate this issue locally.
Can anyone experiencing this issue open a new private ticket, and send us the wp-admin (Administrator) user login so we can inspect it?
Just make sure that the ticket is PRIVATE so the credentials are not visible to the public.
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