pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 264 forks source link

Previously Removed Custom Field Returned, Currently Connected Taxonomy is NOT! #6992

Open dbareis opened 1 year ago

dbareis commented 1 year ago

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

`
### wp-core ###

version: 6.1.1
site_language: en_US
user_language: en_US
timezone: Australia/Melbourne
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 3
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /home/wcipporg/public_html
wordpress_size: 295.94 MB (310319028 bytes)
uploads_path: /home/wcipporg/public_html/wp-content/uploads
uploads_size: 246.30 MB (258259785 bytes)
themes_path: /home/wcipporg/public_html/wp-content/themes
themes_size: 31.56 MB (33092261 bytes)
plugins_path: /home/wcipporg/public_html/wp-content/plugins
plugins_size: 136.76 MB (143403132 bytes)
database_size: 22.59 MB (23691264 bytes)
total_size: 733.15 MB (768765470 bytes)

### wp-active-theme ###

name: OceanWP Child Theme (oceanwp-child-theme-master)
version: 1.0
author: OceanWP
author_website: https://oceanwp.org/
parent_theme: OceanWP (oceanwp)
theme_features: core-block-patterns, widgets-block-editor, align-wide, wp-block-styles, responsive-embeds, editor-styles, editor-style, menus, post-formats, title-tag, automatic-feed-links, post-thumbnails, custom-header, custom-logo, html5, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, widgets
theme_path: /home/wcipporg/public_html/wp-content/themes/oceanwp-child-theme-master
auto_update: Disabled

### wp-parent-theme ###

name: OceanWP (oceanwp)
version: 3.4.1
author: OceanWP
author_website: https://oceanwp.org/about-oceanwp/
theme_path: /home/wcipporg/public_html/wp-content/themes/oceanwp
auto_update: Disabled

### wp-themes-inactive (3) ###

Twenty Twenty: version: 2.1, author: the WordPress team, Auto-updates disabled
Twenty Twenty-Three: version: 1.0, author: the WordPress team, Auto-updates disabled
Twenty Twenty-Two: version: 1.3, author: the WordPress team, Auto-updates disabled

### wp-plugins-active (16) ###

Advance Broken Link Checker - Link Manager: version: 5.2.2, author: jannatqualitybacklinks.com, Auto-updates disabled
Akismet Anti-Spam: version: 5.0.2, author: Automattic, Auto-updates enabled
Error Log Monitor: version: 1.7.3, author: Janis Elsts, Auto-updates disabled
Jetpack: version: 11.7.1, author: Automattic, Auto-updates enabled
Jetpack Boost: version: 1.7.0, author: Automattic - Jetpack Site Speed team, Auto-updates enabled
Media Library Assistant: version: 3.05, author: David Lingren, Auto-updates enabled
Ocean Extra: version: 2.1.1, author: OceanWP, Auto-updates enabled
Pods - Custom Content Types and Fields: version: 2.9.11, author: Pods Framework Team, Auto-updates enabled
Search Regex: version: 3.0.6, author: John Godley, Auto-updates enabled
Shortcoder: version: 6.1, author: Aakash Chakravarthy, Auto-updates enabled
Simple Custom CSS and JS: version: 3.42, author: SilkyPress.com, Auto-updates enabled
Table Sorter: version: 2.3, author: Farhan Noor, Auto-updates enabled
UpdraftPlus - Backup/Restore: version: 1.22.24, author: UpdraftPlus.Com, DavidAnderson, Auto-updates enabled
WordPress Importer: version: 0.8, author: wordpressdotorg, Auto-updates enabled
WP All Export: version: 1.3.8, author: Soflyy, Auto-updates enabled
WP All Import: version: 3.7.1, author: Soflyy, Auto-updates enabled

### wp-plugins-inactive (3) ###

EditorsKit: version: 1.34.2, author: Munir Kamal, Auto-updates enabled
Query Monitor: version: 3.11.1, author: John Blackbourn, Auto-updates enabled
WP Go Maps (formerly WP Google Maps): version: 9.0.17, author: WP Go Maps, Auto-updates enabled

### wp-media ###

image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
imagick_version: Not available
file_uploads: File uploads is turned off
post_max_size: 512M
upload_max_filesize: 512M
max_effective_size: 512 MB
max_file_uploads: 20
gd_version: 2.3.3
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: unknown

### wp-server ###

server_architecture: Linux 2.6.32-954.3.5.lve1.4.78.el6.x86_64 x86_64
httpd_software: LiteSpeed
php_version: 7.4.33 64bit
php_sapi: litespeed
max_input_variables: 1000
time_limit: 30
memory_limit: 1024M
max_input_time: 60
upload_max_filesize: 512M
php_post_max_size: 512M
curl_version: 7.84.0 OpenSSL/1.1.1p
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: false

### wp-database ###

extension: mysqli
server_version: 10.2.44-MariaDB-cll-lve
client_version: 10.2.44-MariaDB
max_allowed_packet: 16777216
max_connections: 150

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/wcipporg/public_html/wp-content
WP_PLUGIN_DIR: /home/wcipporg/public_html/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 1024M
WP_DEBUG: true
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined

### wp-filesystem ###

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable

### jetpack ###

site_id: 184653394
ssl_cert: No
time_diff: undefined
version_option: 11.7.1:1673925391
old_version: 11.7:1673739336
public: Public
master_user: No master user set.
current_user: #3 DennisBareis
tokens_set: Blog 
blog_token: OTPRwoqkt)9xVaV@#RzXO)L70M4kevfN
user_token: Not set.
version: 11.7.1
jp_plugin_dir: /home/wcipporg/public_html/wp-content/plugins/jetpack/
plan: free
protect_header: {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false}
full_sync: {"started":"Sat, 14 Jan 2023 23:35:50 +0000","finished":"Sat, 14 Jan 2023 23:39:20 +0000","progress":{"options":{"finished":true},"functions":{"finished":true},"constants":{"finished":true},"users":{"total":"1","sent":1,"finished":true,"last_sent":"3"},"network_options":{"finished":true}},"config":{"options":true,"functions":true,"constants":true,"users":[3],"network_options":true}}
sync_size: undefined
sync_lag: 0 seconds
full_sync_size: undefined
full_sync_lag: 0 seconds
idc_urls: {"home":"https:\/\/www.wcipp.org.au","siteurl":"https:\/\/www.wcipp.org.au","WP_HOME":"","WP_SITEURL":""}
idc_error_option: false
idc_optin: true
cxn_tests: All Pass.

### pods ###

pods-server-software: LiteSpeed
pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
pods-session-save-path: /tmp
pods-session-save-path-exists: Yes
pods-session-save-path-writable: Yes
pods-session-max-lifetime: 1440
pods-opcode-cache-apc: No
pods-opcode-cache-memcached: No
pods-opcode-cache-opcache: No
pods-opcode-cache-redis: No
pods-object-cache-apc: No
pods-object-cache-apcu: No
pods-object-cache-memcache: No
pods-object-cache-memcached: No
pods-object-cache-redis: No
pods-memory-current-usage: 83.342M
pods-memory-current-usage-real: 49.000M
pods-network-wide: No
pods-install-location: /wp-content/plugins/pods/
pods-developer: No
pods-tableless-mode: No
pods-relationship-table-enabled: Yes
pods-light-mode: No
pods-strict: No
pods-allow-deprecated: Yes
pods-api-cache: Yes
pods-shortcode-allow-evaluate-tags: No
pods-sessions: Disable sessions
pods-can-use-sessions: Yes
pods-relationship-table-status: 22

`

Pods Package

{
    "@meta": {
        "version": "2.9.11",
        "build": 1674251845
    },
    "settings": {
        "types_only": "0",
        "watch_changed_fields": "1",
        "metadata_integration": "1",
        "metadata_override_get": "1",
        "session_auto_start": "0",
        "wisdom_opt_out": ""
    },
    "pods": [
        {
            "name": "light_conditions",
            "id": 5438,
            "label": "Light Conditions",
            "description": "This describes the light conditions required by plants for the best growth.",
            "type": "taxonomy",
            "storage": "meta",
            "label_singular": "Light Condition",
            "public": "1",
            "show_ui": "1",
            "hierarchical": "1",
            "rest_enable": "1",
            "_migrated_28": "1",
            "built_in_post_types_plant": "1",
            "default_term_description": "ssssssssssssssss",
            "show_in_nav_menus": "1",
            "show_in_quick_edit": "1",
            "show_tagcloud": "1",
            "show_admin_column": "1",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_hierarchical": "1",
            "capability_type": "default",
            "capability_type_custom": "light_conditions",
            "query_var": "0",
            "sort": "0",
            "label_desc_field_description": "#### DO NOT USE THIS FIELD: Use the description below ####",
            "required": "0",
            "pfat_enable": "0",
            "pfat_filter_single": "get_the_archive_description",
            "menu_location": "default",
            "groups": [
                {
                    "name": "more_fields",
                    "id": 5439,
                    "label": "More Fields",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "plant_taxonomy_description",
                            "id": 5910,
                            "label": "Description",
                            "description": "",
                            "weight": 0,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "wysiwyg_editor": "tinymce",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_trim": "1"
                        }
                    ]
                }
            ]
        },
        {
            "name": "plant_category",
            "id": 5388,
            "label": "Plant Categories",
            "description": "This describes some of the main characteristics the plant has that you can use to decide which are suitable for your intended purpose.",
            "type": "taxonomy",
            "storage": "meta",
            "label_singular": "Plant Category",
            "public": "1",
            "show_ui": "1",
            "hierarchical": "1",
            "rest_enable": "1",
            "_migrated_28": "1",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_hierarchical": "1",
            "capability_type_custom": "plant_category",
            "query_var": "0",
            "sort": "0",
            "built_in_post_types_plant": "1",
            "pfat_enable": "0",
            "required": "0",
            "show_in_menu": "1",
            "menu_location": "default",
            "menu_position": "0",
            "show_in_nav_menus": "1",
            "show_tagcloud": "1",
            "show_in_quick_edit": "1",
            "show_admin_column": "1",
            "pfat_single": "Plant Category Template",
            "pfat_append_single": "append",
            "pfat_filter_single": "get_the_archive_description",
            "capability_type": "default",
            "label_desc_field_description": "#### DO NOT USE THIS FIELD: Use the description below ####",
            "groups": [
                {
                    "name": "more_fields",
                    "id": 5389,
                    "label": "More Fields",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "plant_taxonomy_description",
                            "id": 5908,
                            "label": "Description",
                            "description": "",
                            "weight": 0,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "wysiwyg_editor": "tinymce",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_trim": "1",
                            "wysiwyg_allow_shortcode": "1",
                            "wysiwyg_wpautop": "1"
                        }
                    ]
                }
            ]
        },
        {
            "name": "plant",
            "id": 5356,
            "label": "Plants",
            "description": "",
            "type": "post_type",
            "storage": "meta",
            "label_singular": "Plant",
            "public": "1",
            "show_ui": "1",
            "rest_enable": "1",
            "supports_title": "1",
            "supports_editor": "1",
            "_migrated_28": "1",
            "required": "0",
            "pfat_enable": "0",
            "pfat_single": "Plant Template",
            "pfat_filter_single": "the_content",
            "pfat_archive": "Plant Category Template",
            "pfat_run_outside_loop": "0",
            "pfat_append_single": "replace",
            "publicly_queryable": "1",
            "exclude_from_search": "0",
            "capability_type_custom": "plant",
            "capability_type_extra": "1",
            "has_archive": "1",
            "hierarchical": "0",
            "can_export": "1",
            "rewrite": "1",
            "rewrite_with_front": "0",
            "rewrite_feeds": "0",
            "rewrite_pages": "1",
            "query_var": "1",
            "default_status": "draft",
            "supports_author": "0",
            "supports_thumbnail": "0",
            "supports_comments": "0",
            "revisions_to_keep_limit": "0",
            "delete_with_user": "0",
            "built_in_taxonomies_plant_category": "1",
            "built_in_taxonomies_plant_categoryx": "1",
            "placeholder_enter_title_here": "{{Scientific Name of the plant}}",
            "pfat_append_archive": "prepend",
            "built_in_taxonomies_growing_condition": "1",
            "built_in_taxonomies_growing_condition2": "1",
            "built_in_taxonomies_light_condition": "1",
            "supports_page_attributes": "0",
            "supports_jetpack_markdown": "1",
            "supports_jetpack_publicize": "1",
            "built_in_taxonomies_soil_condition": "1",
            "built_in_taxonomies_soil_conditions": "1",
            "capability_type": "page",
            "pfat_filter_archive": "the_excerpt",
            "built_in_taxonomies_light_conditions": "1",
            "meta_box_context": "normal",
            "meta_box_priority": "default",
            "groups": [
                {
                    "name": "visitor_visible_fields",
                    "id": 5770,
                    "label": "Visitor Visible Fields (hint: Scientific Name & Description entered ABOVE)",
                    "description": "",
                    "weight": 0,
                    "meta_box_context": "advanced",
                    "meta_box_priority": "high",
                    "roles_allowed": "administrator",
                    "fields": [
                        {
                            "name": "plant_common_names",
                            "id": 5360,
                            "label": "Common Name(s)",
                            "description": "e.g. Gold Dust Wattle [NOTE: Scientific Name goes Above 'Edit Pod']",
                            "weight": 0,
                            "type": "text",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "100",
                            "repeatable": "1",
                            "repeatable_format": "custom",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "text_trim": "1",
                            "repeatable_format_separator": ", "
                        },
                        {
                            "name": "plant_status",
                            "id": 5577,
                            "label": "Plant Status",
                            "description": "e.g. \"Not currently Available\" OR \"DISABLED:\" followed by reason (to remove plant from website)",
                            "weight": 1,
                            "type": "text",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "255",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "text_trim": "1",
                            "text_allow_html": "1",
                            "text_placeholder": "{{normally blank if no sales issues}}",
                            "text_allow_shortcode": "1"
                        },
                        {
                            "name": "plant_size",
                            "id": 5452,
                            "label": "Size",
                            "description": "e.g. 3x3m or 1m high",
                            "weight": 2,
                            "type": "text",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "255",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "text_trim": "1"
                        },
                        {
                            "name": "plant_foliage",
                            "id": 5453,
                            "label": "Foliage",
                            "description": "Describes the plant",
                            "weight": 3,
                            "type": "text",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "255",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "text_trim": "1"
                        },
                        {
                            "name": "plant_flowers",
                            "id": 5454,
                            "label": "Flowers",
                            "description": "Describes flowers e.g. Pale pink 3 petalled in Summer",
                            "weight": 4,
                            "type": "text",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "255",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "text_trim": "1"
                        },
                        {
                            "name": "plant_general_comments",
                            "id": 5455,
                            "label": "General Comments",
                            "description": "Anything missing from above?",
                            "weight": 5,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "wysiwyg_editor": "tinymce",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_media_buttons": "1",
                            "wysiwyg_trim": "1",
                            "wysiwyg_allow_shortcode": "1",
                            "wysiwyg_wpautop": "1",
                            "wysiwyg_oembed": "1",
                            "wysiwyg_editor_height": "0"
                        },
                        {
                            "name": "plant_further_information",
                            "id": 5579,
                            "label": "Further Information",
                            "description": "{{Displayed Text |  Tooltip Text | URL}}",
                            "weight": 6,
                            "type": "text",
                            "sister_id": "-- Select One --",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "512",
                            "required": "0",
                            "repeatable": "1",
                            "repeatable_format": "custom",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "repeatable_add_new_label": "Add New External Link",
                            "text_trim": "1",
                            "text_allow_shortcode": "1",
                            "text_placeholder": "{{Displayed Text |  Tooltip Text | URL}}",
                            "repeatable_format_separator": "<li>"
                        },
                        {
                            "name": "plant_main_image",
                            "id": 5367,
                            "label": "Main Image",
                            "description": "The main image for this plant",
                            "weight": 7,
                            "type": "file",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "file_format_type": "single",
                            "file_uploader": "attachment",
                            "file_type": "images-any",
                            "file_attachment_tab": "browse",
                            "file_upload_dir": "wp",
                            "file_edit_title": "1",
                            "file_show_edit_link": "1",
                            "file_linked": "0",
                            "file_limit": "0",
                            "file_field_template": "tiles",
                            "file_add_button": "Add Main Image",
                            "file_modal_title": "Attach Main Image",
                            "file_modal_add_button": "Add Main Image",
                            "file_wp_gallery_link": "file",
                            "file_wp_gallery_columns": "1",
                            "file_wp_gallery_size": "full",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "file_wp_gallery_output": "1"
                        },
                        {
                            "name": "plant_gallery_images",
                            "id": 5478,
                            "label": "Other Images",
                            "description": "Other Images for the Gallery",
                            "weight": 8,
                            "type": "file",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "file_format_type": "multi",
                            "file_uploader": "attachment",
                            "file_type": "images-any",
                            "file_attachment_tab": "browse",
                            "file_upload_dir": "wp",
                            "file_edit_title": "1",
                            "file_show_edit_link": "1",
                            "file_linked": "0",
                            "file_limit": "0",
                            "file_field_template": "tiles",
                            "file_add_button": "Add New Gallery Image",
                            "file_modal_title": "Attach Other Images",
                            "file_modal_add_button": "Add Other Images",
                            "file_wp_gallery_output": "0",
                            "file_wp_gallery_link": "file",
                            "file_wp_gallery_columns": "9",
                            "file_wp_gallery_size": "thumbnail",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "file_wp_gallery_random_sort": "1"
                        },
                        {
                            "name": "plants_similar_plants",
                            "id": 5692,
                            "label": "Similar Plants",
                            "description": "Other plants with similar characteristics",
                            "weight": 9,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "plant",
                            "sister_id": "5692",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "checkbox",
                            "pick_display_format_multi": "custom",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "1",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        },
                        {
                            "name": "plant_aboriginal_names",
                            "id": 5771,
                            "label": "Aboriginal Name(s)",
                            "description": "These are names from Aboriginal languages",
                            "weight": 10,
                            "type": "text",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "512",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "text_trim": "1",
                            "text_allow_shortcode": "1",
                            "text_allow_html": "1"
                        },
                        {
                            "name": "bush_tucker_how_its_used",
                            "id": 5755,
                            "label": "Bush Tucker (how it's used)",
                            "description": "If you have added this plant to the \"bush tucker\" category then please describe how it is used.",
                            "weight": 11,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_editor": "tinymce",
                            "wysiwyg_trim": "1"
                        }
                    ]
                },
                {
                    "name": "bungalook_admin_fields",
                    "id": 5769,
                    "label": "Bungalook Admin Fields",
                    "description": "",
                    "weight": 1,
                    "meta_box_context": "advanced",
                    "meta_box_priority": "high",
                    "roles_allowed": "administrator",
                    "fields": [
                        {
                            "name": "plant_propagation",
                            "id": 5725,
                            "label": "Propagation",
                            "description": "",
                            "weight": 0,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "wysiwyg_editor": "tinymce",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_media_buttons": "1",
                            "wysiwyg_trim": "1",
                            "wysiwyg_allow_shortcode": "1",
                            "wysiwyg_editor_height": "300"
                        }
                    ]
                }
            ]
        },
        {
            "name": "soil_conditions",
            "id": 5434,
            "label": "Soil Conditions",
            "description": "This describes the soil conditions required by plants for the best growth.",
            "type": "taxonomy",
            "storage": "meta",
            "label_singular": "Soil Condition",
            "public": "1",
            "show_ui": "1",
            "hierarchical": "1",
            "rest_enable": "1",
            "_migrated_28": "1",
            "built_in_post_types_plant": "1",
            "show_in_menu": "1",
            "menu_position": "0",
            "show_in_nav_menus": "1",
            "show_tagcloud": "1",
            "show_in_quick_edit": "1",
            "show_admin_column": "1",
            "pfat_enable": "0",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_hierarchical": "1",
            "capability_type": "default",
            "capability_type_custom": "soil_conditions",
            "query_var": "0",
            "sort": "0",
            "default_term_description": "sajkd sajkasdh jksadhjkd skjhsad soil text",
            "required": "0",
            "label_desc_field_description": "#### DO NOT USE THIS FIELD: Use the description below ####",
            "menu_location": "default",
            "groups": [
                {
                    "name": "more_fields",
                    "id": 5435,
                    "label": "More Fields",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "plant_taxonomy_description",
                            "id": 5911,
                            "label": "Description",
                            "description": "",
                            "weight": 0,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "wysiwyg_editor": "tinymce",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_media_buttons": "0",
                            "wysiwyg_trim": "1",
                            "wysiwyg_allow_shortcode": "1"
                        }
                    ]
                }
            ]
        },
        {
            "name": "user",
            "id": 5558,
            "label": "User",
            "description": "",
            "type": "user",
            "storage": "meta",
            "object": "user",
            "_migrated_28": "1",
            "pfat_enable": "0",
            "pfat_filter_single": "get_the_author_description",
            "pfat_filter_archive": "get_the_author_description",
            "groups": [
                {
                    "name": "more_fields",
                    "id": 5559,
                    "label": "More Fields",
                    "description": "",
                    "weight": 0,
                    "fields": []
                }
            ]
        }
    ],
    "templates": [
        {
            "name": "Plant Template {no longer used)",
            "code": "<p>TEST: {@post_title,UserLoggedIn}\r\n\r\n[if\tpost_title,UserLoggedIn]\r\n\t<p>User IS logged in<\/p>\r\n[else]\r\n\t<p>User is NOT logged in<\/p>\r\n[\/if]\r\n\r\n\r\n\r\n<!--  \r\n\r\n[pods name=\"user\"  ]\r\n<p>Hello1 USER.   {@user.display_name}\/ {@user.user_login}]<\/p>\r\n<p>Hello2 NO DOT: {@display_name}\/ {@user_login}]<\/p>\r\n<p>Hello3 X:      {@x.display_name}\/ {@x.user_login}]<\/p><hr>\r\n[\/pods]\r\n\r\n\r\n\r\n   <p>ID: {@ID} \/ {@user.id} \/  {@display_name} DATE: {@cache.any}\r\n\t== {@user_login} \/ {@userx.user_login}\r\n\t@@ {@userx.ID}\r\n\r\n<p>{user.user_login}   = {@user.user_login} \/\/ {@user_login} \/\/ {@user.#}<\/p>\r\n<p>{user.display_name} = {@user.display_name} \/\/ {@display_name} ## {@user.any}<\/p>\r\n-->\r\n\r\n\r\n\r\n<!--- MAIN IMAGE ----->\r\n<div class=\"MainImage\" title=\"Click for more\">\r\n\t\t[if plant_main_image]\r\n\t\t\t{@plant_main_image}\r\n\t\t[else]\r\n\t\t\t<font color='red'><strong>No main plant image specified<\/strong><\/font>\r\n\t\t[\/if]\r\n\t\r\n<\/div>\t\r\n\r\n\r\n<!--- PLANT DETAILS TABLE ----->\r\n<figure class=\"wp-block-table is-style-stripes\" style=\"width:70%;float: right; margin-left: 5px; margin-bottom: 15px\">\r\n<table class=\"PlantTable\" title='&quot;{@post_title}&quot; ({@plant_common_name}) was last modified: {@post_modified}'><\/p>\r\n\r\n\t<tr><td><strong>Scientific Name:<\/strong><\/td><td>\r\n\t\t<a href='https:\/\/www.google.com.au\/search?q=%22{@post_title}%22+plant' title='Find more information about this plant with a Google search (opens in a new tab).' target='_blank' rel=\"noopener\">{@post_title}<\/a>\r\n\t<\/td><\/tr>\r\n\t\r\n\t<tr><td><strong>Common Name:<\/strong><\/td><td>\r\n\t\t[if plant_common_name]\r\n\t\t\t{@plant_common_name}\r\n\t\t[else]\r\n\t\t\t\t<font color='red'><strong>No common name(s) specified<\/strong><\/font>\r\n\t\t[\/if]\r\n\t<\/td><\/tr>\r\n\t\r\n\t\r\n\t[if plant_status]\r\n\t\t<tr><td><strong>Status:<\/strong><\/td><td><font color='red'><strong>{@plant_status}<\/strong><\/font><\/td><\/tr>\r\n\t[\/if]\r\n\t\r\n\t\r\n\t<tr><td><strong>Type of Plant:<\/strong><\/td><td>\r\n\t\t[if plant_category]\r\n\t\t\t{@plant_category,CreateLinksFromTaxonomiesRelationShip}\r\n\t\t[else]\r\n\t\t    <font color='red'><strong>No plant types (tree etc) specified<\/strong><\/font>\r\n\t\t[\/if]\r\n\t<\/td><\/tr>\r\n\t\r\n\t\t\t\r\n\t<tr><td><strong>Growing<br>Conditions:<\/strong><\/td><td>\r\n\t\t[if light_conditions]\r\n\t\t\t{@light_conditions,CreateLinksFromTaxonomiesRelationShip}\r\n\t\t[else]\r\n\t\t    <font color='red'><strong>No light growing conditions (full sun etc) specified<\/strong><\/font>\r\n\t\t[\/if]\r\n\t\t<br>\r\n\t\t[if soil_conditions]\r\n\t\t    {@soil_conditions,CreateLinksFromTaxonomiesRelationShip}\r\n\t\t[else]\r\n\t\t    <font color='red'><strong>No soil growing conditions (dry soil) specified<\/strong><\/font>\r\n\t\t[\/if]\r\n\t<\/td><\/tr>\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t[if plant_size]\r\n\t\t<tr><td><strong>Plant Size:<\/strong><\/td><td>\r\n\t\t\t\t{@plant_size}\r\n\t\t<\/td><\/tr>\r\n\t[\/if]\r\n\t\r\n\t\r\n    [if plant_foliage]\r\n\t\t<tr><td><strong>Follage:<\/strong><\/td><td>\r\n\t\t\t\t{@plant_foliage}\r\n\t\t<\/td><\/tr>\r\n\t[\/if]\r\n\t\r\n\t\r\n\t[if plant_flowers]\r\n\t\t<tr><td><strong>Flowers:<\/strong><\/td><td>\r\n\t\t\t{@plant_flowers}\r\n\t\t<\/td><\/tr>\r\n\t[\/if]\r\n\t\r\n\t\r\n\t[if plant_general_comments]\r\n\t\t<tr><td><strong>General Comments:<\/strong><\/td><td>\r\n\t\t\t{@plant_general_comments}\r\n\t\t<\/td><\/tr>\r\n\t[\/if]\r\n\t\r\n\t\r\n    [if plant_further_information]\r\n\t\t<tr><td><strong>Further Information:<\/strong><\/td><td>\r\n\t\t\t<ol>\r\n\t\t\t    {@plant_further_information,PlantFurtherInformationField}\r\n\t\t    <\/ol>\t\r\n\t\t<\/td><\/tr>\r\n\t[\/if]\r\n\r\n\t\r\n\t[if plants_similar_plants]\r\n\t\t<tr><td><strong>Similar Plants:<\/strong><\/td><td>\r\n\t\t\t<ol>\r\n\t\t\t\t[each plants_similar_plants]\r\n\t\t\t\t\t<li><a href=\"{@permalink,esc_url}\" title='Click to view the related plant &quot;{@post_title}&quot;'>{@post_title}<\/a><\/li>\r\n\t\t\t\t[\/each]\r\n\t\t\t<\/ol>\r\n\t\t\t\r\n\t\t<\/td><\/tr>\r\n\t[\/if]\r\n\t\r\n\t\r\n<\/table>\r\n<\/figure>\r\n\t\r\n\r\n\t\r\n\r\n[if plant_gallery_images]\r\n\t[sc name=\"gallery_separator_click_to_enlarge_following_pictures\"][\/sc]\r\n\t\r\n\t<!-- To get Thumbails to display and columns to work, I had to turn off SETTINGS->Media->Display all your gallery pictures in a cool mosaic. -------->\r\n\t<center>\r\n\t\t[gallery columns=\"8\" order=\"DESC\" orderby=\"title\" size=\"thumbnail\"]\r\n\t<\/center>\t\r\n\r\n\t<!--  \t{z@plant_gallery_images}\r\n\t\t\t{@plant_gallery_images._src.thumbnail}\r\n\t\t\t<hr>\r\n\t\t\t{@plant_gallery_images._img.thumbnail}\r\n\r\n\t\t\t<hr>\r\n\t\t\t<h2>List of Images to build html from - Each Loop<\/h2>\r\n\t\t\t\t<ol>\r\n\t\t\t\t[each plant_gallery_images]\r\n\t\t\t\t\t<li><a href=\"{@guid,esc_url}\" target=\"_blank\" rel=\"noopener\" title=\"{@post_excerpt,strip_tags}\">{@post_title}<\/a><br>{@guid}<br>\r\n\t\t\t\t\t\tCAPTION: {@post_content}\r\n\t\t\t\t[\/each]\r\n\t\t\t\t<\/ol>\t\r\n\t-->\r\n[\/if]",
            "id": 5362,
            "_edit_lock": "1673990035:3",
            "_edit_last": "3",
            "admin_only": "0",
            "restrict_capability": "1",
            "show_restrict_message": "0",
            "_pods_capability_allowed": [
                ""
            ],
            "pod_reference": {
                "pod": "plant"
            }
        }
    ],
    "pages": [
        {
            "name": "all-plants*",
            "code": "",
            "id": 5913,
            "_edit_lock": "1674188588:3",
            "_edit_last": "3",
            "admin_only": "0",
            "restrict_role": "0",
            "restrict_capability": "0",
            "restrict_redirect": "0",
            "restrict_redirect_login": "0",
            "_pods_roles_allowed": [
                ""
            ],
            "_pods_capability_allowed": [
                ""
            ],
            "page_template": "plant-list-all-template.php",
            "pod": "0"
        },
        {
            "name": "light-conditions\/*",
            "code": "",
            "id": 5745,
            "_edit_lock": "1673988177:3",
            "_edit_last": "3",
            "admin_only": "0",
            "restrict_role": "0",
            "restrict_capability": "0",
            "restrict_redirect": "0",
            "restrict_redirect_login": "0",
            "page_template": "plant-taxonomy-category-template.php",
            "pod": "0",
            "_pods_roles_allowed": [
                ""
            ],
            "_pods_capability_allowed": [
                ""
            ]
        },
        {
            "name": "plant-category\/*",
            "code": "",
            "id": 5748,
            "_edit_lock": "1674079477:3",
            "_edit_last": "3",
            "admin_only": "0",
            "restrict_role": "0",
            "restrict_capability": "0",
            "restrict_redirect": "0",
            "restrict_redirect_login": "0",
            "_pods_roles_allowed": [
                ""
            ],
            "_pods_capability_allowed": [
                ""
            ],
            "page_template": "plant-taxonomy-category-template.php",
            "pod": "0"
        },
        {
            "name": "plant\/*",
            "code": "",
            "id": 5719,
            "_edit_lock": "1673824734:3",
            "_edit_last": "3",
            "admin_only": "0",
            "restrict_role": "0",
            "restrict_capability": "0",
            "restrict_redirect": "0",
            "restrict_redirect_login": "0",
            "page_template": "plant-page-template.php",
            "pod": "0",
            "_pods_roles_allowed": [
                ""
            ],
            "_pods_capability_allowed": [
                ""
            ]
        },
        {
            "name": "soil-conditions\/*",
            "code": "",
            "id": 5718,
            "_edit_lock": "1673990294:3",
            "_edit_last": "3",
            "_wp_old_date": "2023-01-16",
            "page_title": "Soil Conditions",
            "admin_only": "0",
            "restrict_role": "0",
            "restrict_capability": "0",
            "restrict_redirect": "0",
            "restrict_redirect_login": "0",
            "_pods_roles_allowed": [
                ""
            ],
            "_pods_capability_allowed": [
                ""
            ],
            "page_template": "plant-taxonomy-category-template.php",
            "pod": "0"
        }
    ]
}
dbareis commented 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