Custom Fields Not Showing for Import

Closed

Import WP Pro Updated 1 year ago 9 Replies

Nick asked 1 year ago on October 11, 2023 at 7:35 pm

I am using the PODS framework to help me build a directory for our website. I previously was able to pulldown custom fields that I created for this directory but now I am not seeing any of the created custom fields. When I try to import other types of PODS I do see the custom fields I attributed so I am not sure what the difference is. I tried clearing cache for the website and on the server so I am unsure what else I can do to activate these custom fields so that they can be imported in bulk. 

NM

Nick replied

1 year ago on October 11, 2023 at 8:36 pm

OK so now the custom fields are showing BUT there is a fatal area because a file is not present. I am guessing this has somehting to do with me clearing the cache but I am unsure what I should or should not do with regards to the WP Import looking for particular custom fields or files in a cache. Can someone help explain what the proper process is so I can upload my directory? Thanks! 

J

James replied Support Agent

1 year ago on October 11, 2023 at 9:03 pm

Hi Nick,

The pods plugin will require an integration to work, as these types of plugins (acf, jetengine) also store extra data along with there custom fields. Looking back through my support tickets i can see i wrote a basic integration for that plugin about 3 years (https://github.com/jcollings/importwp-pods ) i will need to check back through the plugin to confirm if it is working or update it accordingly.

Can you please provide me with an export of your pods settings, not to familier with this plugin but there should be a way with pods to import/export field groups?

Looking at your screenshots i can see the custom fields are prefixed with RAW , this is a list of custom fields that have data stored in them on the post meta field, and may not be the correct custom field for pods.

The fatal error suggests another plugin is erroring when starting up the importer, are you able to check your server logs for more information about this?

James

NM

Nick replied

1 year ago on October 11, 2023 at 9:18 pm

Jason - Thanks so much for getting back to me! So I was able to updates my PODS "Directory" with an intial import and now the custom RAW fields are showing but it is still throwing an error to me. I deactivated a few plugins and tried again but no luck. 

New Error Code: Return type of Pods\API\Whatsit\Value_Field::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

- How do I utilize your PODS patch? I am not a dev. but I can try my best to update the app to get my imports to work. 
- PODS settings exported and attached
- Server logs I am not sure I could find these. Where would I look for them? 

Thanks for all of the help! The custom fields are vital for our build and anything you can do to help is much apprecaited.  

J

James replied Support Agent

1 year ago on October 11, 2023 at 10:11 pm

To get rid of the error, i would suggest deleting the imported data as it sounds like it is in the wrong format for pods to understand.

I will let you know when i have tested the pods integration, and attach the updated plugin if needed.

NM

Nick replied

1 year ago on October 12, 2023 at 3:27 am

James - I adjusted all of the PODS directory fields and just made them plain text types and this seemed to solve most of the issues on the upload. I added some additional fields to the Directory but these do not seem to be showing when I am looking for the RAW FEED: Do these take time to populate or is there something I should refresh to see new custom fields? 

Thanks for testing the PODS framework against the importer and all of your help. 

J

James replied Support Agent

1 year ago on October 12, 2023 at 8:35 am

Without the pods integration, the best way to get these new/any custom fields to appear in the raw list, would be to create a mock directory and enter values for each field, then when you save that post and go back to the importer the list of available custom fields will have updated.

J

James replied Support Agent

1 year ago on October 12, 2023 at 2:58 pm

Hi Nick,

I have attached the pods integration plugin for importwp, this covers the basic fields at the moment.

Once activated you will see a list of custom fields in the dropdown all prefixed with Pods e.g. "Pods - Group - Field Name", make sure you update all existing custom fields to use these prefixed ones.

James

NM

Nick replied

1 year ago on October 13, 2023 at 2:46 am

James - I added a record in the Direcotry and updated all of the fields and tht triggered them being in the Raw Field pull down. I was able to upload everything I needed to for our event Saturday so thank you for the help. I will add the plugin and let you know if I have any additional issues or questions. 

Thank you for all the help! This was the second plugin I tried to upload everything but the Ui and support has been amazing and I appreciate it. We are a nonprofit so cost for software matter but support matters even more when we are on a deadline and your quick responses helped so much. 

Regars, 

- Nick

J

James replied Support Agent

1 year ago on October 13, 2023 at 11:13 am

Thanks, Glad you have it sorted, no need to add the extra plugin if it is working as expected.

James