I am getting an error message when I create a new table using:
Create a data table linked to an existing data source
I enter a URL to a php file that returns the serialized array for the table, and I get the following error message:
There was an error while trying to save the table! OK WDTException: [0]: One or more columns doesn't have a header. Please enter headers for all columns in order to proceed.
Even though the error message pops up, it still creates a table populated with the correct data but I am unable to edit the column headers (gear icon does not show up). Also, whenever I try to save the table it shows a similar error message.
Note: I know the php works correctly because we were able to create a wpDataTable on a different wordpress site.
This tells you that one of the columns from the PHP array you're importing doesn't have a header. Can you please check that PHP Array and verify all columns have a header? You can send me the URL, so I can check it out if you can't find the solution.
If the file contains sensitive data, make sure to enable the PRIVATE response as it is a public ticket.
I am getting an error message when I create a new table using:
Create a data table linked to an existing data sourceI enter a URL to a php file that returns the serialized array for the table, and I get the following error message:
There was an error while trying to save the table! OK WDTException: [0]: One or more columns doesn't have a header. Please enter headers for all columns in order to proceed.
Even though the error message pops up, it still creates a table populated with the correct data but I am unable to edit the column headers (gear icon does not show up). Also, whenever I try to save the table it shows a similar error message.
Note: I know the php works correctly because we were able to create a wpDataTable on a different wordpress site.
Hey John
This tells you that one of the columns from the PHP array you're importing doesn't have a header. Can you please check that PHP Array and verify all columns have a header? You can send me the URL, so I can check it out if you can't find the solution.
If the file contains sensitive data, make sure to enable the PRIVATE response as it is a public ticket.
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