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.06k stars 264 forks source link

Warning: Undefined array key "file_uploader" in /.../wp-content/plugins/pods/components/Templates/includes/functions-pod_reference.php on line 92 #7170

Closed oldrup closed 9 months ago

oldrup commented 10 months ago

Description

Testing Pods 3.0.1 with WP_DEBUG on, I'm greeted with this warning in Edit Pod Template

image

Is that something you can reproduce?

Please let me know if I can do further to help troubleshooting.

Version

3.0.1

Testing Instructions

No response

Screenshots / Screencast

No response

Possible Workaround

No response

Site Health Information

No response

Pods Package

{
    "@meta": {
        "version": "3.0.1",
        "build": 1694800059
    },
    "settings": {
        "types_only": "0",
        "watch_changed_fields": "1",
        "metadata_integration": "1",
        "metadata_override_get": "0",
        "session_auto_start": "0",
        "wisdom_opt_out": "1",
        "media_modal_fields": "1",
        "active_components": [
            "migrate-packages",
            "templates"
        ]
    },
    "pods": [
        {
            "name": "beholder",
            "id": 19,
            "label": "Beholdere",
            "description": "",
            "type": "post_type",
            "storage": "meta",
            "label_singular": "Beholder",
            "public": "1",
            "show_ui": "1",
            "rest_enable": "1",
            "supports_title": "1",
            "supports_editor": "0",
            "_migrated_28": "1",
            "required": "0",
            "built_in_taxonomies_category": "1",
            "archive_show_in_taxonomies_category": "1",
            "capability_type": "post",
            "supports_thumbnail": "1",
            "supports_excerpt": "1",
            "publicly_queryable": "1",
            "exclude_from_search": "0",
            "capability_type_custom": "beholder",
            "capability_type_extra": "1",
            "has_archive": "1",
            "hierarchical": "0",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_feeds": "0",
            "rewrite_pages": "1",
            "query_var": "1",
            "can_export": "1",
            "default_status": "draft",
            "revisions_to_keep_limit": "5",
            "delete_with_user": "0",
            "show_in_menu": "1",
            "menu_position": "0",
            "show_in_nav_menus": "1",
            "show_in_admin_bar": "1",
            "menu_icon": "dashicons-trash",
            "archive_show_in_taxonomies_post_tag": "1",
            "built_in_taxonomies_post_tag": "1",
            "pfat_enable": "1",
            "pfat_single": "sw-beholder",
            "pfat_append_single": "replace",
            "pfat_append_archive": "replace",
            "pfat_archive": "sw-list-item",
            "pfat_filter_single": "the_content",
            "built_in_taxonomies_workflow": "1",
            "write_all": "beholder",
            "pfat_filter_archive": "the_excerpt",
            "pfat_run_outside_loop": "0",
            "repeatable": "0",
            "supports_revisions": "1",
            "meta_box_context": "normal",
            "meta_box_priority": "default",
            "built_in_taxonomies_mat_options": "0",
            "supports_page_attributes": "1",
            "pick_object": "custom-simple",
            "groups": [
                {
                    "name": "beh_fields",
                    "id": 20,
                    "label": "Beholder - udvidede detaljer",
                    "description": "",
                    "weight": 0,
                    "meta_box_context": "normal",
                    "meta_box_priority": "default",
                    "roles_allowed": "administrator",
                    "fields": [
                        {
                            "name": "note",
                            "id": 21,
                            "label": "Note",
                            "description": "Eventuelle krav til fraktionens renhedsgrad. F.eks at madffald ikke m\u00e5 indeholde emballage. Maks 250 tegn.",
                            "weight": 0,
                            "type": "paragraph",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "repeatable": "0",
                            "paragraph_allowed_html_tags": "strong em a ul ol li b i",
                            "paragraph_max_length": "250",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "paragraph_convert_chars": "0",
                            "paragraph_trim": "1",
                            "repeatable_format": "default",
                            "rest_read": "1"
                        },
                        {
                            "name": "rel_beh_mat_ja",
                            "id": 22,
                            "label": "Materiale, ja tak",
                            "description": "\u2705 Disse materialer m\u00e5 gerne komme i beholderen",
                            "weight": 1,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "materiale",
                            "sister_id": "36",
                            "required": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "pick_table": "-- Select One --",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "0",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "pick_post_status": [
                                "publish",
                                "draft"
                            ],
                            "pick_post_author": "0",
                            "repeatable": "0",
                            "rest_read": "1",
                            "rest_write": "1",
                            "repeatable_format": "default",
                            "enable_conditional_logic": "1",
                            "conditional_logic": {
                                "action": "show",
                                "logic": "any",
                                "rules": [
                                    {
                                        "field": "rel_beh_mat_nej",
                                        "compare": "empty",
                                        "value": ""
                                    }
                                ]
                            }
                        },
                        {
                            "name": "rel_beh_mat_nej",
                            "id": 23,
                            "label": "Materiale, nej tak",
                            "description": "\ud83d\uded1 Disse materialer m\u00e5 IKKE komme i beholderen",
                            "weight": 2,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "materiale",
                            "sister_id": "38",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "0",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "pick_post_status": [
                                "publish",
                                "draft"
                            ],
                            "pick_post_author": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "repeatable": "0",
                            "rest_read": "1",
                            "rest_write": "1",
                            "repeatable_format": "default",
                            "enable_conditional_logic": "1",
                            "conditional_logic": {
                                "action": "show",
                                "logic": "any",
                                "rules": [
                                    {
                                        "field": "rel_beh_mat_ja",
                                        "compare": "empty",
                                        "value": ""
                                    }
                                ]
                            }
                        },
                        {
                            "name": "beh_hvad",
                            "id": 24,
                            "label": "Hvad sker der med affaldet?",
                            "description": "Eventuel n\u00e6rmere beskrivelse af fraktionen og hvordan vi genanvender den.",
                            "weight": 3,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "repeatable": "0",
                            "wysiwyg_editor": "tinymce",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_trim": "1",
                            "wysiwyg_allowed_html_tags": "strong em ul ol li b i p a",
                            "repeatable_format": "default"
                        }
                    ]
                }
            ]
        },
        {
            "name": "container",
            "id": 25,
            "label": "Containere",
            "description": "",
            "type": "post_type",
            "storage": "meta",
            "show_in_menu": "1",
            "label_singular": "Container",
            "public": "1",
            "show_ui": "1",
            "supports_title": "1",
            "supports_editor": "0",
            "publicly_queryable": "1",
            "exclude_from_search": "0",
            "capability_type": "post",
            "capability_type_custom": "piktogram",
            "capability_type_extra": "1",
            "has_archive": "1",
            "hierarchical": "0",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_feeds": "0",
            "rewrite_pages": "1",
            "query_var": "1",
            "can_export": "1",
            "default_status": "draft",
            "supports_author": "0",
            "supports_thumbnail": "1",
            "supports_excerpt": "0",
            "supports_trackbacks": "0",
            "supports_custom_fields": "0",
            "supports_comments": "0",
            "supports_revisions": "1",
            "supports_page_attributes": "0",
            "supports_post_formats": "0",
            "built_in_taxonomies_category": "1",
            "built_in_taxonomies_element_category": "0",
            "built_in_taxonomies_faq_category": "0",
            "built_in_taxonomies_link_category": "0",
            "built_in_taxonomies_portfolio_category": "0",
            "built_in_taxonomies_portfolio_skills": "0",
            "built_in_taxonomies_portfolio_tags": "0",
            "built_in_taxonomies_post_tag": "1",
            "built_in_taxonomies_template_category": "0",
            "show_in_nav_menus": "1",
            "show_in_admin_bar": "1",
            "pfat_enable": "1",
            "pfat_run_outside_loop": "0",
            "pfat_single": "sw-container",
            "pfat_append_single": "replace",
            "pfat_filter_single": "the_content",
            "pfat_filter_archive": "the_content",
            "rest_enable": "1",
            "read_all": "0",
            "write_all": "0",
            "_migrated_28": "1",
            "pfat_archive": "sw-list-item",
            "pfat_filter_archive_custom": "the_content",
            "menu_position": "0",
            "menu_icon": "dashicons-database",
            "meta_box_context": "normal",
            "meta_box_priority": "default",
            "revisions_to_keep_limit": "5",
            "delete_with_user": "0",
            "archive_show_in_taxonomies_category": "1",
            "required": "0",
            "archive_show_in_taxonomies_post_tag": "1",
            "built_in_taxonomies_workflow": "1",
            "repeatable": "0",
            "built_in_taxonomies_mat_options": "0",
            "pick_object": "custom-simple",
            "groups": [
                {
                    "name": "con_fields",
                    "id": 26,
                    "label": "Container - udvidede detaljer",
                    "description": "",
                    "weight": 0,
                    "meta_box_context": "normal",
                    "meta_box_priority": "high",
                    "roles_allowed": "administrator",
                    "fields": [
                        {
                            "name": "note",
                            "id": 27,
                            "label": "Note",
                            "description": "Eventuelle krav til fraktionens renhedsgrad. F.eks at den ikke m\u00e5 indeholde jord eller plastik. Maks 250 tegn.",
                            "weight": 0,
                            "type": "paragraph",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "repeatable": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "paragraph_allowed_html_tags": "strong em a ul ol li b i",
                            "paragraph_max_length": "250",
                            "paragraph_trim": "1",
                            "repeatable_format": "default",
                            "enable_conditional_logic": "0",
                            "paragraph_allow_html": "1"
                        },
                        {
                            "name": "rel_con_mat_ja",
                            "id": 28,
                            "label": "Materiale, ja tak",
                            "description": "\u2705 Disse materialer m\u00e5 gerne komme i containeren",
                            "weight": 1,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "materiale",
                            "sister_id": "37",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "0",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "pick_post_status": [
                                "publish",
                                "draft"
                            ],
                            "admin_only": "0",
                            "restrict_role": "0",
                            "restrict_capability": "0",
                            "hidden": "0",
                            "read_only": "0",
                            "roles_allowed": [
                                "administrator"
                            ],
                            "rest_read": "1",
                            "rest_write": "1",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "unique": "0",
                            "pick_table": "-- Select One --",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_post_author": "0",
                            "repeatable": "0",
                            "repeatable_format": "default"
                        },
                        {
                            "name": "rel_con_mat_nej",
                            "id": 29,
                            "label": "Materiale, nej tak",
                            "description": "\ud83d\uded1 Disse materialer m\u00e5 IKKE komme i containeren",
                            "weight": 2,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "materiale",
                            "sister_id": "39",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "1",
                            "pick_show_view_link": "0",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "pick_post_status": [
                                "publish",
                                "draft"
                            ],
                            "pick_post_author": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "repeatable": "0",
                            "rest_read": "1",
                            "rest_write": "1"
                        },
                        {
                            "name": "con_hvad",
                            "id": 30,
                            "label": "Hvad sker der med affaldet?",
                            "description": "Eventuel n\u00e6rmere beskrivelse af fraktionen og hvordan vi genanvender den.",
                            "weight": 3,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "repeatable": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_editor": "tinymce",
                            "wysiwyg_allowed_html_tags": "strong em ul ol li b i p a",
                            "wysiwyg_convert_chars": "0",
                            "wysiwyg_trim": "1",
                            "repeatable_format": "default"
                        },
                        {
                            "name": "con_alternativ",
                            "id": 31,
                            "label": "Alternativ container",
                            "description": "Beskriv hvilken container materialet skal i, hvis den prim\u00e6re container ikke findes p\u00e5 pladsen.",
                            "weight": 4,
                            "type": "paragraph",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "repeatable": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "paragraph_allowed_html_tags": "strong em a ul ol li b i",
                            "paragraph_max_length": "250",
                            "paragraph_trim": "1",
                            "repeatable_format": "default",
                            "enable_conditional_logic": "0",
                            "paragraph_allow_html": "1"
                        },
                        {
                            "name": "con_vejleder",
                            "id": 32,
                            "label": "Info til genbrugsvejledere",
                            "description": "Eventuel beskrivelse af f.eks forskellige kvaliteter eller underfraktioner",
                            "weight": 5,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "repeatable": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "wysiwyg_editor": "tinymce",
                            "wysiwyg_allowed_html_tags": "strong em ul ol li b i p a",
                            "wysiwyg_convert_chars": "1",
                            "repeatable_format": "default"
                        }
                    ]
                }
            ]
        },
        {
            "name": "mat_options",
            "id": 41,
            "label": "Materialeindstillinger",
            "description": "",
            "type": "taxonomy",
            "storage": "meta",
            "label_singular": "Materialeindstillinger",
            "public": "1",
            "show_ui": "1",
            "hierarchical": "1",
            "rest_enable": "1",
            "_migrated_28": "1",
            "rewrite": "0",
            "rewrite_with_front": "1",
            "rewrite_hierarchical": "1",
            "capability_type": "default",
            "query_var": "0",
            "sort": "0",
            "built_in_post_types_beholder": "0",
            "built_in_post_types_container": "0",
            "built_in_post_types_materiale": "1",
            "menu_location": "default",
            "show_in_nav_menus": "0",
            "show_tagcloud": "0",
            "show_tagcloud_in_edit": "0",
            "show_in_quick_edit": "0",
            "show_in_menu": "1",
            "rewrite_custom_slug": "mat_options",
            "menu_position": "0",
            "show_admin_column": "0",
            "groups": [
                {
                    "name": "more_fields",
                    "id": 42,
                    "label": "More Fields",
                    "description": "",
                    "weight": 0,
                    "fields": []
                }
            ]
        },
        {
            "name": "materiale",
            "id": 33,
            "label": "Materialer",
            "description": "",
            "type": "post_type",
            "storage": "meta",
            "label_singular": "Materiale",
            "public": "1",
            "show_ui": "1",
            "supports_title": "1",
            "supports_editor": "0",
            "publicly_queryable": "1",
            "exclude_from_search": "0",
            "capability_type": "post",
            "capability_type_custom": "genstand",
            "capability_type_extra": "1",
            "has_archive": "1",
            "hierarchical": "0",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_feeds": "0",
            "rewrite_pages": "1",
            "query_var": "1",
            "can_export": "1",
            "default_status": "draft",
            "supports_author": "0",
            "supports_thumbnail": "1",
            "supports_excerpt": "0",
            "supports_trackbacks": "0",
            "supports_custom_fields": "0",
            "supports_comments": "0",
            "supports_revisions": "1",
            "supports_page_attributes": "0",
            "supports_post_formats": "0",
            "built_in_taxonomies_category": "0",
            "built_in_taxonomies_element_category": "0",
            "built_in_taxonomies_faq_category": "0",
            "built_in_taxonomies_link_category": "0",
            "built_in_taxonomies_portfolio_category": "0",
            "built_in_taxonomies_portfolio_skills": "0",
            "built_in_taxonomies_portfolio_tags": "0",
            "built_in_taxonomies_post_tag": "0",
            "built_in_taxonomies_template_category": "0",
            "show_in_menu": "1",
            "show_in_nav_menus": "1",
            "show_in_admin_bar": "1",
            "pfat_enable": "1",
            "pfat_single": "sw-materiale",
            "pfat_append_single": "replace",
            "pfat_filter_single": "the_content",
            "rest_enable": "1",
            "read_all": "0",
            "write_all": "0",
            "pfat_run_outside_loop": "0",
            "built_in_taxonomies_fusion_tb_category": "0",
            "menu_position": "0",
            "pfat_filter_archive_custom": "the_content",
            "_migrated_28": "1",
            "pfat_archive": "sw-card-single",
            "menu_icon": "dashicons-update",
            "meta_box_context": "normal",
            "meta_box_priority": "default",
            "required": "0",
            "built_in_taxonomies_workflow": "1",
            "revisions_to_keep_limit": "5",
            "delete_with_user": "0",
            "repeatable": "0",
            "built_in_taxonomies_mat_options": "1",
            "groups": [
                {
                    "name": "mat_fields",
                    "id": 34,
                    "label": "Materiale - udvidede detaljer",
                    "description": "",
                    "weight": 0,
                    "meta_box_context": "normal",
                    "meta_box_priority": "default",
                    "roles_allowed": "administrator",
                    "fields": [
                        {
                            "name": "varianter",
                            "id": 35,
                            "label": "Varianter",
                            "description": "Varianter eller eksempler, 3-4 ord, fx Alkaline, lithium, nikkel cadmium",
                            "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": "255",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "rest_read": "0",
                            "rest_write": "0"
                        },
                        {
                            "name": "note",
                            "id": 5935,
                            "label": "Note",
                            "description": "Evt. specifikke krav til aflevering. F.eks. at fritureolie afleveres i original emballage. Max 150 tegn.",
                            "weight": 1,
                            "type": "paragraph",
                            "sister_id": "-- Select One --",
                            "required": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "rest_read": "1",
                            "paragraph_allowed_html_tags": "strong em a ul ol li b i",
                            "paragraph_max_length": "150",
                            "paragraph_trim": "1"
                        },
                        {
                            "name": "rel_mat_beh_ja",
                            "id": 36,
                            "label": "Beholder, ja tak",
                            "description": "\u2705 Materialet skal i denne beholder i derhjemme",
                            "weight": 2,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "beholder",
                            "sister_id": "22",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "single",
                            "pick_format_single": "list",
                            "pick_format_multi": "list",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "0",
                            "pick_show_view_link": "0",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "rest_read": "1",
                            "repeatable": "0",
                            "rest_write": "1",
                            "repeatable_format": "default",
                            "pick_format_single_help": "0",
                            "pick_format_multi_help": "0"
                        },
                        {
                            "name": "rel_mat_con_ja",
                            "id": 37,
                            "label": "Container, ja tak",
                            "description": "\u2705 Materialet skal i denne container p\u00e5 genbrugspladsen",
                            "weight": 3,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "container",
                            "sister_id": "28",
                            "required": "0",
                            "pick_format_type": "single",
                            "pick_format_single": "list",
                            "pick_format_multi": "checkbox",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "1",
                            "pick_show_edit_link": "0",
                            "pick_show_view_link": "0",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "pick_post_status": [
                                "publish"
                            ],
                            "admin_only": "0",
                            "restrict_role": "0",
                            "restrict_capability": "0",
                            "hidden": "0",
                            "read_only": "0",
                            "roles_allowed": [
                                "administrator"
                            ],
                            "rest_read": "1",
                            "rest_write": "1",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "unique": "0",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_table": "-- Select One --",
                            "pick_post_author": "0",
                            "repeatable": "0",
                            "repeatable_format": "default",
                            "pick_format_single_help": "0",
                            "pick_format_multi_help": "0"
                        },
                        {
                            "name": "rel_mat_beh_nej",
                            "id": 38,
                            "label": "Beholder, nej tak",
                            "description": "\u274c Materialet m\u00e5 IKKE komme i denne beholder",
                            "weight": 4,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "beholder",
                            "sister_id": "23",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "autocomplete",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "0",
                            "pick_show_edit_link": "0",
                            "pick_show_view_link": "0",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "repeatable": "0",
                            "rest_read": "1",
                            "rest_write": "1",
                            "repeatable_format": "default",
                            "pick_format_single_help": "0",
                            "pick_format_multi_help": "0"
                        },
                        {
                            "name": "rel_mat_con_nej",
                            "id": 39,
                            "label": "Container, nej tak",
                            "description": "\u274c Materialet m\u00e5 IKKE komme i denne container",
                            "weight": 5,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "container",
                            "sister_id": "29",
                            "pick_table": "-- Select One --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "list",
                            "pick_format_multi": "autocomplete",
                            "pick_display_format_multi": "default",
                            "pick_display_format_separator": ", ",
                            "pick_allow_add_new": "0",
                            "pick_taggable": "0",
                            "pick_show_icon": "0",
                            "pick_show_edit_link": "0",
                            "pick_show_view_link": "0",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "pick_post_status": "publish",
                            "pick_post_author": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "repeatable": "0",
                            "rest_read": "1",
                            "rest_write": "1",
                            "repeatable_format": "default",
                            "pick_format_single_help": "0",
                            "pick_format_multi_help": "0"
                        },
                        {
                            "name": "mat_lang_note",
                            "id": 5994,
                            "label": "Lang note",
                            "description": "Mulighed for l\u00e6ngere beskrivelse hvis materialet ikke kan afleveres til genanvendelse.",
                            "weight": 6,
                            "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"
                        }
                    ]
                }
            ]
        }
    ],
    "templates": [
        {
            "name": "sw-beholder",
            "code": "<!-- show the beholder card, with featured image, title and excerpt -->\r\n\r\n[pods template=\"sw-card\"]\r\n\r\n<!-- Show all the items that goes into the beholder -->\r\n<!-- (the nested figure tags works with reader mode in firefox and safari, in case you are wondering) -->\r\n\r\n[if rel_beh_mat_ja]\r\n\t<figure class=\"sw-mini-cards\">\r\n\t\t<figcaption class=\"sw-mini-cards__heading\">\r\n\t\t\t<h2>Det m\u00e5 komme i beholderen<\/h2>\r\n\t\t<\/figcaption>\r\n\t\t[pods name=\"materiale\" orderby=\"title\" limit=\"100\" where=\"rel_mat_beh_ja.ID={@ID}\" template=\"sw-mini-cards\"]\r\n\t<\/figure>\r\n[\/if]\t\r\n\r\n<!-- show all the items that must NOT go into the beholder -->\r\n\r\n[if rel_beh_mat_nej]\r\n\t<h2>Det m\u00e5 <em>ikke<\/em> komme i beholderen<\/h2>\r\n\t[pods name=\"materiale\" orderby=\"title\" limit=\"100\" where=\"rel_mat_beh_nej.ID={@ID}\" template=\"sw-item-no\"]\r\n[\/if]\r\n\r\n<!-- show what happens with the trash -->\r\n\r\n[if beh_hvad]\r\n\t<h2>Hvad sker der med affaldet?<\/h2>\r\n\t{@beh_hvad}\r\n[\/if]",
            "id": 5937,
            "_edit_lock": "1694799886:1",
            "_edit_last": "1",
            "admin_only": "0",
            "restrict_capability": "0",
            "show_restrict_message": "0",
            "_pods_capability_allowed": [
                ""
            ],
            "pod_reference": {
                "pod": "beholder"
            }
        },
        {
            "name": "sw-card",
            "code": "<!-- Shows a simple card with featured image, title, variants and a optional note -->\r\n<!-- Pods Magic Tags used: https:\/\/docs.pods.io\/displaying-pods\/magic-tags\/ -->\r\n\r\n\r\n<!-- Create a header element, apply a class if post has a thumbnail so that we can display as grid -->\r\n\r\n<header class=\"sw-card[if post_thumbnail] sw-card--has-thumbnail[\/if]\">\r\n\r\n\r\n\t<!-- First in the header goes post title and variants -->\r\n\r\n\t<div class=\"sw_card__title-container\">\r\n\t\t<h1 class=\"sw-card__title\">{@post_title,strip_tags}<\/h1>\r\n\t\t[if varianter]\r\n\t\t\t<p class=\"sw-card__varianter\">{@varianter,esc_attr}<\/p>\r\n\t\t[\/if]\r\n\t<\/div>\r\n\t\t\r\n\r\n\t<!-- Second, an thumbnail if available -->\r\n\r\n\t[if post_thumbnail]\r\n\t\t<img class=\"sw-card__thumbnail\" src=\"{@post_thumbnail_url.medium}\" width=\"192\" height=\"192\" alt=\"\">\r\n\t[\/if]\r\n\t\r\n\r\n\t<!-- Third, any note from the post itself, or any related container -->\r\n\r\n\t\r\n\t<p class=\"sw-card__note\">\r\n\t\t\r\n\t[if note]\r\n\t\t<!-- Show any material note first, as it is most specific -->\r\n\t\t{@note}\r\n\t[if]\r\n\r\n\r\n\t[if field=\"mat_options.slug\" value=\"mat_skjul-beholder-note\" compare=\"!=\"]\r\n\t\t<!-- Show the beholder note second, unless its set to hidden -->\t\t\r\n\t\t[each rel_mat_beh_ja]\r\n\t\t\t[if field=\"note\" compare=\"NOT EMPTY\"]\r\n\t\t\t\t&#32;{@note,esc_attr}\r\n\t\t\t[\/if]\r\n\t\t[\/each]\r\n\t[\/if]\r\n\r\n\t\r\n\r\n\t[if field=\"mat_options.slug\" value=\"mat_skjul-container-note\" compare=\"!=\"]\r\n\t\t<!-- Show the container note last, as it is the least specific, unless its set to hidden -->\t\t\r\n\t\t[each rel_mat_con_ja]\r\n\t\t\t[if field=\"note\" compare=\"NOT EMPTY\"]\r\n\t\t\t\t&#32;{@note,esc_attr}\r\n\t\t\t[\/if]\r\n\t\t[\/each]\r\n\t[\/if]\r\n\t\t\t\r\n\t<\/p>\r\n\t\r\n\r\n<\/header>\r\n\r\n\r\n<!-- All styling has been moved to WPCodeBox snippet; AFLD Pods template sw-card -->",
            "id": 5938,
            "_edit_lock": "1694798849:1",
            "_edit_last": "1",
            "admin_only": "0",
            "restrict_capability": "0",
            "show_restrict_message": "0",
            "_pods_capability_allowed": [
                ""
            ],
            "pod_reference": {
                "pod": "materiale"
            }
        },
        {
            "name": "sw-container",
            "code": "<!-- show the container card, with featured image, title and optional details -->\r\n\r\n[pods template=\"sw-card\"]\r\n\r\n<!-- Show all the items that goes into the container -->\r\n<!-- (the nested figure tags works with reader mode in firefox and safari, in case you are wondering) -->\r\n\r\n[if rel_con_mat_ja]\r\n\t<figure class=\"sw-mini-cards\">\r\n\t\t<figcaption class=\"sw-mini-cards__heading\">\r\n\t\t\t<h2>Det m\u00e5 komme i containeren<\/h2>\r\n\t\t<\/figcaption>\r\n\t\t[pods name=\"materiale\" orderby=\"title\" limit=\"100\" where=\"rel_mat_con_ja.ID={@ID}\" template=\"sw-mini-cards\"]\r\n\t<\/figure>\r\n[\/if]\t\r\n\r\n\r\n[if rel_con_mat_nej]\r\n\t<!-- show all the items that must NOT go into the container -->\r\n\t<h2>Det m\u00e5 <em>ikke<\/em> komme i containeren<\/h2>\r\n\t[pods name=\"materiale\" orderby=\"title\" limit=\"100\" where=\"rel_mat_con_nej.ID={@ID}\" template=\"sw-item-no\"]\r\n[\/if]\r\n\r\n\r\n[if con_alternativ]\r\n\t<!-- show alternate container if primary is not present -->\r\n\t<p>{@con_alternativ,strip_tags}<\/p>\r\n[\/if]\r\n\r\n\r\n[if con_hvad]\r\n\t<!-- show optional detailed info about recycling -->\r\n\t<h2>Hvad sker der med affaldet?<\/h2>\r\n\t{@con_hvad}\r\n[\/if]\r\n\r\n\r\n[if con_vejleder]\r\n\t<!-- show optional information to the employee at the recycling center -->\r\n\t<details>\r\n\t\t<summary>Info til genbrugsvejledere<\/summary>\r\n\t\t{@con_vejleder}\r\n\t<\/details>\r\n[\/if]",
            "id": 5939,
            "_edit_lock": "1694798878:1",
            "_edit_last": "1",
            "admin_only": "0",
            "restrict_capability": "0",
            "show_restrict_message": "0",
            "_pods_capability_allowed": [
                ""
            ],
            "_wp_old_slug": [
                "container-rf",
                "container"
            ],
            "pod_reference": {
                "pod": "container"
            }
        },
        {
            "name": "sw-item-no",
            "code": "[before]\r\n\t<!-- Template for listing unwanted items. -->\r\n\t<!-- Lists title with link to item using a \u274c instead of a bullet -->\r\n\r\n\t<!-- sw-item-no -->\r\n\r\n\t<ul class=\"sw-item-no\">\r\n\r\n[\/before]\r\n\t\t<li class=\"sw-item-no__title\">\r\n\t\t\t<a href=\"{@permalink,esc_url}\">{@post_title,strip_tags}<\/a>\r\n\t\t<\/li>\r\n[after]\r\n\r\n\t<\/ul>\r\n\r\n[\/after]",
            "id": 5940,
            "_edit_lock": "1694504050:1",
            "_edit_last": "1",
            "admin_only": "0",
            "restrict_capability": "0",
            "show_restrict_message": "0",
            "_wp_old_slug": "sw-item-no_220809",
            "_pods_capability_allowed": [
                ""
            ],
            "pod_reference": {
                "pod": "materiale"
            }
        },
        {
            "name": "sw-item-ul",
            "code": "[before]\r\n\r\n\t<!-- Pod Template sw-item-ul -->\r\n\t<!-- Creates a simple unordered list of items. Used in alphabetic indexes -->\r\n\t\r\n\t<ul class=\"sw-item-ul\">\r\n\r\n[\/before]\r\n\r\n\t\t<li><a href=\"{@permalink,esc_url}\">{@post_title,strip_tags}<\/a><\/li>\r\n\r\n[after]\r\n\r\n\t<\/ul>\r\n\r\n[\/after]",
            "id": 5941,
            "_edit_lock": "1665562825:1",
            "_edit_last": "1",
            "pod_reference": {
                "pod": "materiale"
            }
        },
        {
            "name": "sw-materiale",
            "code": "<!-- show the beholder card, with featured image, title, variants and short notes -->\r\n\r\n[pods template=\"sw-card\"]\r\n\r\n\r\n<!-- if mat_lang_note; in rare cases a longer note below the card is needed -->\r\n\r\n[if mat_lang_note]\r\n\t{@mat_lang_note}\r\n[\/if]\r\n\r\n\r\n<!-- show any destinations (beholdere, containere) for the material -->\r\n\r\n<div class=\"sw-materiale-single__sortering\">\r\n\r\n\t[if rel_mat_beh_ja]\r\n\t<figure class=\"sw-mini-cards\">\r\n\t\t<figcaption class=\"sw-mini-cards__heading\">\r\n\t\t\t<h2>Derhjemme<\/h2>\r\n\t\t<\/figcaption>\r\n\t\t[pods name=\"beholder\" orderby=\"title\" where=\"rel_beh_mat_ja.ID={@ID}\" template=\"sw-mini-cards\"]\r\n\t<\/figure>\r\n\t[\/if]\r\n\r\n\r\n\t[if rel_mat_con_ja]\r\n\t<figure class=\"sw-mini-cards\">\r\n\t\t<figcaption class=\"sw-mini-cards__heading\">\r\n\t\t\t<h2>P\u00e5 genbrugspladsen<\/h2>\r\n\t\t<\/figcaption>\r\n\t\t[pods name=\"container\" orderby=\"title\" where=\"rel_con_mat_ja.ID={@ID}\" template=\"sw-mini-cards\"]\r\n\t<\/figure>\r\n\r\n\t[\/if]\r\n\r\n<\/div>\r\n\r\n\r\n<!-- if con_alternativ; show alternate container if primary is not present -->\r\n\r\n[each rel_mat_con_ja]\r\n\t[if field=\"con_alternativ\" compare=\"NOT EMPTY\"]\r\n\t\t<p>{@con_alternativ,strip_tags}<\/p>\r\n\t[\/if]\r\n[\/each]\r\n\r\n\r\n<!-- if beh_hvad; show what happens to materials deposited in the recycling can at home -->\r\n\r\n[each rel_mat_beh_ja]\r\n\t[if field=\"beh_hvad\" compare=\"NOT EMPTY\"]\r\n\t\t<h2>Hvad sker der med affaldet i din beholder?<\/h2>\r\n\t\t{@beh_hvad}\r\n\t[\/if]\r\n[\/each]\r\n\r\n\r\n<!-- if con_hvad; show what happens to materials deposited in the recycling center -->\r\n\r\n[each rel_mat_con_ja]\r\n\t[if field=\"con_hvad\" compare=\"NOT EMPTY\"]\r\n\t\t<h2>Hvad sker der med affaldet p\u00e5 genbrugspladsen?<\/h2>\r\n\t\t{@con_hvad}\r\n\t[\/if]\r\n[\/each]",
            "id": 5942,
            "_edit_lock": "1691611273:1",
            "_edit_last": "1",
            "admin_only": "0",
            "restrict_capability": "0",
            "show_restrict_message": "0",
            "_pods_capability_allowed": [
                ""
            ],
            "pod_reference": {
                "pod": "materiale"
            }
        },
        {
            "name": "sw-mini-cards",
            "code": "<a href=\"{@permalink,esc_url}\">\r\n\t<figure class=\"sw-mini-cards__card\">\r\n\t\t[if post_thumbnail]\r\n\t\t\t<img class=\"sw-mini-cards__thumbnail\" width=\"96\" height=\"96\" src=\"{@post_thumbnail_url}\" alt=\"\">\r\n\t\t[else]\r\n\t\t\t<div class=\"sw-mini-cards__thumbnail\"><\/div>\r\n\t\t[\/if]\r\n\t\t<figcaption class=\"sw-mini-cards__caption\">{@post_title,strip_tags}<\/figcaption>\r\n\t<\/figure>\r\n<\/a>",
            "id": 5943,
            "_edit_lock": "1665384669:1",
            "_edit_last": "1",
            "_wp_old_slug": "sw-ite",
            "admin_only": "0",
            "restrict_capability": "0",
            "show_restrict_message": "0",
            "_pods_capability_allowed": [
                ""
            ],
            "pod_reference": {
                "pod": "materiale"
            }
        }
    ]
}
sc0ttkclark commented 9 months ago

Fixed via 01357cb321a812cfa5fad50809a6c2f3334043c6