And here's the error I get: "wpDataTables backend error: Please provide a valid 2-dimensional array."
From everything I can tell, this is a valid array. I've tried converting the integers, to strings, no luck. I have the update from March 10 installed. Please advise. Thank you.
If you take a look at our documentationabout Creating Tables in WordPress based on serialized PHP arrays you will notice this info:
The format of the serialized array should be the following: 2D-array, where the parent level is an indexed array, and the second level is an associative array. Parent array entries will be parsed as rows, child array keys will be parsed as column headers, child array values as cell values.
The "error" that you got is related to the properly created file. So can you try to modify the file and tell me does it work also pay attention to the special characters. I would help you out but unfortunately I am not familiar with your file, parent and child array etc.
Glad that everything is working now. If you have any more issues feel free to open a new ticket, we will gladly help. If you like our plugin and support please rate our plugin at CodeCanyon on this link. It means a lot to us. Thanks.
Trying to use a simple serialized array for a chart. I'm using serialized arrays for other tables without any issue using the same logic.
Here's the array output:
http://wordpress-16480-45618-224198.cloudwaysapps.com/grids/bystatus.php
And here's the error I get: "wpDataTables backend error: Please provide a valid 2-dimensional array."
From everything I can tell, this is a valid array. I've tried converting the integers, to strings, no luck. I have the update from March 10 installed. Please advise. Thank you.
Hi davidpaulalbert,
Thank you for your purchase.
If you take a look at our documentation about Creating Tables in WordPress based on serialized PHP arrays you will notice this info:
The format of the serialized array should be the following: 2D-array, where the parent level is an indexed array, and the second level is an associative array. Parent array entries will be parsed as rows, child array keys will be parsed as column headers, child array values as cell values.
The "error" that you got is related to the properly created file. So can you try to modify the file and tell me does it work also pay attention to the special characters.
I would help you out but unfortunately I am not familiar with your file, parent and child array etc.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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! I was able to get it to work. I appreciate the guidance. Great plug-in.
Hi davidpaulalbert,
Glad that everything is working now.
If you have any more issues feel free to open a new ticket, we will gladly help.
If you like our plugin and support please rate our plugin at CodeCanyon on this link. It means a lot to us. Thanks.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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