I installed CSV Import and set the options (file name, etc.)
My CSV only has two lines (field names, 1 row of data).
It says it’s complete, but I get this message (and no pod is added)
Warning: Invalid argument supplied for foreach() in /home/crearot4/public_html/wp-content/plugins/pods/classes/PodAPI.php on line 1669
Warning: Invalid argument supplied for foreach() in /home/crearot4/public_html/wp-content/plugins/pods/classes/PodAPI.php on line 1675
So, I loaded the Export package. It didn’t show up in the package manager (nothing in the PreCode), but I eventually (with hand tinkering) go that to work.
I exported the data I have for the pod in question.
I removed all the data lines except for one (keeping the header).
I changed just two fields
I tried to import it.
It fails. Same error.
So, I can’t even import what comes out of export (with 3 fields changed, since it’s creating a new record).
I’m totally stumped. It’s probably the syntax for the CVS file, but who knows. The error message doesn’t help.
I’m guessing the problem I have is with arrays that are picking from things like wp_taxonomy, but have no clue. Can’t find many examples to go on. Can’t find a list of examples that match each field type in Pods CMS.
Can anyone help me move forward on this? I have 219 rows of data to import (although, for now, I would be thrilled if just one would work).
Thanks for any and all help!
Joe
Version 1.11 of Pods (although the Export package says it uses 1.12, but I can’t find a 1.12)
Version 3.2.1 of WordPress
http://www.createNcraft.com