As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #2821687
error creating table with serialized PHP array
Closed

Comments

  • John Lemke started the conversation

    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.


  •  2,576
    Aleksandar replied

    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 | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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