Open dbareis opened 1 year ago
$Plant = pods('plant', $args);
dumping the pods object (attached) shows:
'built_in_taxonomies_plant_category' => '1',
'built_in_taxonomies_plant_categoryx' => '1',
The second doesn't exist (I probably renamed it at some stage, maybe deleted). It doesn't show any relationship fields. OnePodsObject.zip
Description
I tried all sorts of things when getting started including a category relationship field. I have since deleted that and associated it to a custom taxonomy.
I am listing all "plants" they have 3 custom taxonomies, in the inner loop:
$CustomFields = get_post_custom('', get_the_ID() );
That returned:
{"_edit_lock":["1674103930:3"],"_last_editor_used_jetpack":["block-editor"],"_edit_last":["3"],"_pods_plant_categories_relationship":["a:3:{i:0;i:25;i:1;i:24;i:2;i:23;}"],"plant_categories_relationship":["25","24","23"],"_pods_plant_growing_conditions":["a:5:{i:0;i:30;i:1;i:34;i:2;i:35;i:3;i:36;i:4;i:37;}"],"plant_soil_conditions":["30","34","35","36","37"],"_pods_plant_light_conditions":["a:1:{i:0;i:36;}"],"plant_light_conditions":["36"],"plant_status":[""],"plant_size":[""],"plant_foliage":[""],"plant_flowers":[""],"plant_general_comments":[""],"plant_aboriginal_names":["jarrah Noongar Bogus"],"bush_tucker_how_its_used":[""],"plant_propagation":[""],"plant_common_names":["Gold Dust Wattle"],"plant_further_information":[""]}
It returned "plant_categories_relationship" which doesn't exist but not "plant_category" which is the taxonomy, my 2 other taxonomies are returned "_plant_lightconditions" and "_plant_soilconditions".
Note that this issue doesn't exist when using a single autotemplate or a template PHP, although I am not looking for the obsolete field, the missing taxonomy information is returned.
I will now delete that taxonomy and create a new one and see what happens. I have a DB backup if that helps also.
Version
2.9.11
Testing Instructions
No response
Screenshots / Screencast
No response
Possible Workaround
No response
Site Health Information
Pods Package