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

Bug updating to 2.8.20 #6539

Closed totogigi closed 1 year ago

totogigi commented 2 years ago

Description

Hello, when i update to 2.8.20 artist name (artist is a custom post type) disappear and i have this error (take a look to the screenshot) It seems that on artist name instead of returning the artist's data you will get back an id and that's i Schermata 2022-06-22 alle 11 35 14 Rollback to previous version works.

Version

2.8.20

Testing Instructions

http://dieschachtel3.albertosaladesign.it/record/spiralis-aurea/

Before the product title "Spiralis Aurea" you should see the artist name

Screenshots / Screencast

No response

Possible Workaround

No response

Site Health Information

`
### wp-core ###

version: 6.0
site_language: it_IT
user_language: it_IT
timezone: +00:00
permalink: /%postname%/
https_status: false
multisite: false
user_registration: 0
blog_public: 0
default_comment_status: undefined
environment_type: production
user_count: -1
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /home/customer/www/dieschachtel3.albertosaladesign.it/public_html
wordpress_size: 211,71 MB (221998694 bytes)
uploads_path: /home/customer/www/dieschachtel3.albertosaladesign.it/public_html/wp-content/uploads
uploads_size: 13,81 MB (14479127 bytes)
themes_path: /home/customer/www/dieschachtel3.albertosaladesign.it/public_html/wp-content/themes
themes_size: 19,55 MB (20500387 bytes)
plugins_path: /home/customer/www/dieschachtel3.albertosaladesign.it/public_html/wp-content/plugins
plugins_size: 146,82 MB (153954212 bytes)
database_size: 20,23 MB (21217280 bytes)
total_size: 412,13 MB (432149700 bytes)

### wp-active-theme ###

name: Savoy Child (savoy-child)
version: 1.0
author: NordicMade
author_website: http://www.nordicmade.com
parent_theme: Savoy (savoy)
theme_features: core-block-patterns, widgets-block-editor, post-thumbnails, editor-styles, align-wide, editor-style, title-tag, automatic-feed-links, woocommerce, wc-product-gallery-slider, wc-product-gallery-lightbox, widgets, menus
theme_path: /home/customer/www/dieschachtel3.albertosaladesign.it/public_html/wp-content/themes/savoy-child
auto_update: Disabilitato

### wp-parent-theme ###

name: Savoy (savoy)
version: 2.6.6
author: NordicMade
author_website: http://www.nordicmade.com
theme_path: /home/customer/www/dieschachtel3.albertosaladesign.it/public_html/wp-content/themes/savoy
auto_update: Disabilitato

### wp-themes-inactive (1) ###

Twenty Twenty-Two: version: 1.2, author: the WordPress team, Aggiornamenti automatici disabilitati

### wp-plugins-active (19) ###

Anywhere Elementor: version: 1.2.6, author: WPVibes, Aggiornamenti automatici disabilitati
Contact Form 7: version: 5.6, author: Takayuki Miyoshi, Aggiornamenti automatici disabilitati
Custom Product Tabs for WooCommerce: version: 1.7.7, author: YIKES, Inc., Aggiornamenti automatici disabilitati
Elementor: version: 3.6.6, author: Elementor.com, Aggiornamenti automatici disabilitati
Elementor Pro: version: 3.7.2, author: Elementor.com, Aggiornamenti automatici disabilitati
Envato Market: version: 2.0.7, author: Envato, Aggiornamenti automatici disabilitati
Pods - Custom Content Types and Fields: version: 2.8.20, author: Pods Framework Team, Aggiornamenti automatici disabilitati
Pods Alternative Cache: version: 2.1.3, author: Pods Framework Team, Aggiornamenti automatici disabilitati
Savoy Theme - Content Elements: version: 1.5.4, author: NordicMade, Aggiornamenti automatici disabilitati
Savoy Theme - Portfolio: version: 1.2.8, author: NordicMade, Aggiornamenti automatici disabilitati
Savoy Theme - Settings Panel: version: 1.1, author: NordicMade, Aggiornamenti automatici disabilitati
Savoy Theme - Team Members: version: 1.0.8, author: NordicMade, Aggiornamenti automatici disabilitati
Savoy Theme - Wishlist: version: 2.4.2, author: NordicMade, Aggiornamenti automatici disabilitati
SiteGround Optimizer: version: 7.1.4, author: SiteGround, Aggiornamenti automatici disabilitati
UpdraftPlus - Backup/Restore: version: 1.22.12, author: UpdraftPlus.Com, DavidAnderson, Aggiornamenti automatici disabilitati
WooCommerce: version: 6.6.1, author: Automattic, Aggiornamenti automatici disabilitati
Wordfence Security: version: 7.5.11, author: Wordfence, Aggiornamenti automatici disabilitati
WPZOOM Instagram Widget & Block: version: 2.0.2, author: WPZOOM, Aggiornamenti automatici disabilitati
Yoast Duplicate Post: version: 4.4, author: Enrico Battocchi & Team Yoast, Aggiornamenti automatici disabilitati

### wp-media ###

image_editor: WP_Image_Editor_GD
imagick_module_version: Non disponibile
imagemagick_version: Non disponibile
imagick_version: Non disponibile
file_uploads: File uploads is turned off
post_max_size: 256M
upload_max_filesize: 256M
max_effective_size: 256 MB
max_file_uploads: 20
gd_version: 2.2.5
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 9.27

### wp-server ###

server_architecture: Linux 3.12.18-clouder0 x86_64
httpd_software: Apache
php_version: 7.4.30 64bit
php_sapi: cgi-fcgi
max_input_variables: 3000
time_limit: 120
memory_limit: 768M
max_input_time: 120
upload_max_filesize: 256M
php_post_max_size: 256M
curl_version: 7.66.0 OpenSSL/1.1.1n-fips
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: true

### wp-database ###

extension: mysqli
server_version: 5.7.32-35-log
client_version: mysqlnd 7.4.30
max_allowed_packet: 33554432
max_connections: 500

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/customer/www/dieschachtel3.albertosaladesign.it/public_html/wp-content
WP_PLUGIN_DIR: /home/customer/www/dieschachtel3.albertosaladesign.it/public_html/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 768M
WP_DEBUG: false
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: Non definito
DB_CHARSET: utf8
DB_COLLATE: undefined

### wp-filesystem ###

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

### pods ###

pods-server-software: Apache
pods-user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
pods-session-save-path: /tmp
pods-session-save-path-exists: Sì
pods-session-save-path-writable: Sì
pods-session-max-lifetime: 1440
pods-opcode-cache-apc: No
pods-opcode-cache-memcached: No
pods-opcode-cache-opcache: Sì
pods-opcode-cache-redis: No
pods-object-cache-apc: No
pods-object-cache-apcu: No
pods-object-cache-memcache: No
pods-object-cache-memcached: Sì
pods-object-cache-redis: No
pods-memory-current-usage: 124,380M
pods-memory-current-usage-real: 126,000M
pods-network-wide: No
pods-install-location: /wp-content/plugins/pods/
pods-developer: No
pods-tableless-mode: No
pods-relationship-table-enabled: Sì
pods-light-mode: No
pods-strict: No
pods-allow-deprecated: Sì
pods-api-cache: Sì
pods-shortcode-allow-evaluate-tags: No
pods-sessions: Disable sessions
pods-can-use-sessions: Sì
pods-relationship-table-status: 6

`

Pods Package

{
    "meta": {
        "version": "2.8.20",
        "build": 1655891048
    },
    "pods": [
        {
            "name": "artist",
            "id": 2425,
            "label": "Artists",
            "description": "Artista",
            "type": "post_type",
            "storage": "meta",
            "label_singular": "Artist",
            "public": "1",
            "show_ui": "1",
            "rest_enable": "1",
            "supports_title": "1",
            "supports_editor": "1",
            "_migrated_28": "1",
            "show_in_menu": "1",
            "show_in_nav_menus": "1",
            "show_in_admin_bar": "1",
            "menu_icon": "dashicons-format-audio",
            "menu_position": "0",
            "has_archive": "1",
            "rewrite": "1",
            "rewrite_custom_slug": "artist",
            "supports_thumbnail": "1",
            "supports_page_attributes": "1",
            "supports_post_formats": "1",
            "publicly_queryable": "1",
            "capability_type": "post",
            "supports_revisions": "1",
            "required": "0",
            "exclude_from_search": "0",
            "capability_type_custom": "artist",
            "capability_type_extra": "1",
            "hierarchical": "0",
            "rewrite_with_front": "1",
            "rewrite_feeds": "0",
            "rewrite_pages": "1",
            "query_var": "1",
            "can_export": "1",
            "default_status": "draft",
            "revisions_to_keep_limit": "0",
            "delete_with_user": "1",
            "pfat_enable": "1",
            "built_in_taxonomies_product_tag": "1",
            "pfat_single": "Artist template",
            "groups": [
                {
                    "name": "campi_aggiuntivi",
                    "id": 2426,
                    "label": "Campi aggiuntivi",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "video",
                            "id": 2450,
                            "label": "Video",
                            "description": "",
                            "weight": 0,
                            "type": "oembed",
                            "sister_id": "-- Seleziona --",
                            "post_status": "publish",
                            "required": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "oembed_width": "0",
                            "oembed_height": "0",
                            "oembed_show_preview": "1",
                            "oembed_restrict_providers": "0"
                        },
                        {
                            "name": "recensioni",
                            "id": 2451,
                            "label": "Recensioni",
                            "description": "",
                            "weight": 1,
                            "type": "file",
                            "sister_id": "-- Seleziona --",
                            "post_status": "publish",
                            "required": "0",
                            "file_format_type": "multi",
                            "file_uploader": "attachment",
                            "file_attachment_tab": "upload",
                            "file_upload_dir": "wp",
                            "file_edit_title": "1",
                            "file_show_edit_link": "1",
                            "file_linked": "0",
                            "file_limit": "0",
                            "file_type": "images",
                            "file_field_template": "rows",
                            "file_add_button": "Aggiungi file",
                            "file_modal_title": "Allega un file",
                            "file_modal_add_button": "Aggiungi file",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "file_wp_gallery_output": "1",
                            "file_allowed_extensions": "jpg,png,pdf,gif,webp",
                            "file_wp_gallery_link": "file"
                        },
                        {
                            "name": "records",
                            "id": 2539,
                            "label": "Records",
                            "description": "",
                            "weight": 2,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "product",
                            "sister_id": "2434",
                            "pick_table": "-- Seleziona --",
                            "required": "0",
                            "pick_format_type": "multi",
                            "pick_format_single": "radio",
                            "pick_format_multi": "checkbox",
                            "pick_display_format_multi": "default",
                            "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": "1",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "class": "related-products"
                        }
                    ]
                }
            ]
        },
        {
            "name": "product",
            "id": 2432,
            "label": "Product",
            "description": "",
            "type": "post_type",
            "storage": "meta",
            "object": "product",
            "_migrated_28": "1",
            "required": "0",
            "pfat_enable": "0",
            "pfat_single": "0",
            "pfat_append_single": "true",
            "pfat_filter_single": "the_content",
            "pfat_archive": "0",
            "pfat_append_archive": "true",
            "pfat_filter_archive": "the_excerpt",
            "pfat_run_outside_loop": "0",
            "groups": [
                {
                    "name": "campi_aggiuntivi",
                    "id": 2433,
                    "label": "Campi aggiuntivi",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "artist_name",
                            "id": 2434,
                            "label": "Artist name",
                            "description": "Seleziona artista",
                            "weight": 0,
                            "type": "pick",
                            "pick_object": "post_type",
                            "pick_val": "artist",
                            "sister_id": "2539",
                            "post_status": [
                                "publish",
                                "draft"
                            ],
                            "pick_table": "-- Seleziona --",
                            "required": "1",
                            "pick_format_type": "single",
                            "pick_format_single": "dropdown",
                            "pick_format_multi": "checkbox",
                            "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": "1",
                            "pick_limit": "0",
                            "pick_user_role": "Administrator",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "class": "artist-css-name",
                            "pick_post_status": "publish",
                            "pick_post_author": "0"
                        },
                        {
                            "name": "serial",
                            "id": 2497,
                            "label": "Serial",
                            "description": "",
                            "weight": 1,
                            "type": "text",
                            "sister_id": "-- Seleziona --",
                            "post_status": "publish",
                            "required": "1",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "40",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "text_allow_shortcode": "1"
                        }
                    ]
                }
            ]
        },
        {
            "name": "user",
            "id": 2463,
            "label": "User",
            "description": "This custom post type (_pods_pod) is used to customise fields of WooCommerce customers at registration, check out and user profile update. Custom fields are stored as custom post type _pods_field, children posts of this post.",
            "type": "user",
            "storage": "meta",
            "object": "user",
            "_migrated_28": "1",
            "groups": [
                {
                    "name": "campi_aggiuntivi",
                    "id": 2538,
                    "label": "Campi aggiuntivi",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "cio_section_contact",
                            "id": 2464,
                            "label": "Customer Contact",
                            "description": "",
                            "weight": 0,
                            "hidden": "1"
                        },
                        {
                            "name": "billing_first_name",
                            "id": 2465,
                            "label": "First Name",
                            "description": "",
                            "weight": 1
                        },
                        {
                            "name": "billing_last_name",
                            "id": 2466,
                            "label": "Last Name",
                            "description": "",
                            "weight": 2
                        },
                        {
                            "name": "billing_email",
                            "id": 2467,
                            "label": "Billing Email",
                            "description": "",
                            "weight": 3
                        },
                        {
                            "name": "billing_phone",
                            "id": 2468,
                            "label": "Phone",
                            "description": "",
                            "weight": 4
                        },
                        {
                            "name": "billing_mobile",
                            "id": 2469,
                            "label": "Mobile Phone",
                            "description": "",
                            "weight": 5
                        },
                        {
                            "name": "cio_end_section_account",
                            "id": 2470,
                            "label": "Account Details",
                            "description": "",
                            "weight": 6,
                            "hidden": "1"
                        },
                        {
                            "name": "cio_section_billing",
                            "id": 2471,
                            "label": "Billing Details",
                            "description": "",
                            "weight": 7,
                            "hidden": "1"
                        },
                        {
                            "name": "billing_company",
                            "id": 2472,
                            "label": "Company",
                            "description": "",
                            "weight": 8
                        },
                        {
                            "name": "billing_address_1",
                            "id": 2473,
                            "label": "Address Line 1",
                            "description": "",
                            "weight": 9
                        },
                        {
                            "name": "billing_address_2",
                            "id": 2474,
                            "label": "Address Line 2",
                            "description": "",
                            "weight": 10
                        },
                        {
                            "name": "billing_city",
                            "id": 2475,
                            "label": "Suburb",
                            "description": "",
                            "weight": 11
                        },
                        {
                            "name": "billing_postcode",
                            "id": 2476,
                            "label": "Post Code",
                            "description": "",
                            "weight": 12
                        },
                        {
                            "name": "cio_section_shipping",
                            "id": 2477,
                            "label": "Shipping Details",
                            "description": "",
                            "weight": 13,
                            "hidden": "1"
                        },
                        {
                            "name": "shipping_first_name",
                            "id": 2478,
                            "label": "First Name",
                            "description": "",
                            "weight": 14
                        },
                        {
                            "name": "shipping_last_name",
                            "id": 2479,
                            "label": "Last Name",
                            "description": "",
                            "weight": 15
                        },
                        {
                            "name": "shipping_company",
                            "id": 2480,
                            "label": "Company",
                            "description": "",
                            "weight": 16
                        },
                        {
                            "name": "shipping_address_1",
                            "id": 2481,
                            "label": "Address Line 1",
                            "description": "",
                            "weight": 17
                        },
                        {
                            "name": "shipping_address_2",
                            "id": 2482,
                            "label": "Address Line 2",
                            "description": "",
                            "weight": 18
                        },
                        {
                            "name": "shipping_city",
                            "id": 2483,
                            "label": "Suburb",
                            "description": "",
                            "weight": 19
                        },
                        {
                            "name": "shipping_postcode",
                            "id": 2484,
                            "label": "Post Code",
                            "description": "",
                            "weight": 20
                        },
                        {
                            "name": "shipping_phone",
                            "id": 2485,
                            "label": "Phone",
                            "description": "",
                            "weight": 21
                        },
                        {
                            "name": "shipping_mobile",
                            "id": 2486,
                            "label": "Mobile Phone",
                            "description": "",
                            "weight": 22
                        },
                        {
                            "name": "cio_section_others1",
                            "id": 2487,
                            "label": "Additional Details",
                            "description": "",
                            "weight": 23,
                            "hidden": "1"
                        }
                    ]
                }
            ]
        }
    ],
    "templates": [
        {
            "name": "Artist template",
            "code": "<h4>Video<\/h4>\r\n&nbsp;\r\n{@video}\r\n\r\n&nbsp;\r\n<h4>Recensioni<\/h4>\r\n\r\n{@recensioni}\r\n\r\n&nbsp;\r\n<h4>Records<\/h4>\r\n\r\n{@records}",
            "id": 2488,
            "_edit_last": "1",
            "_edit_lock": "1652717834:1",
            "pod_reference": {
                "pod": "artist"
            }
        }
    ]
}
sc0ttkclark commented 2 years ago

@totogigi What setting do you have in Pods Admin > Settings for the Override option shown here at the bottom:

Screen Shot 2022-09-21 at 12 05 34 AM
sc0ttkclark commented 1 year ago

Can you also provide your template file for savoy-child/woocommerce/content-single-product.php or provide further detail for however you are outputting this field?

JoryHogeveen commented 1 year ago

Closing topic due to inactivity. @totogigi Feel free to reopen and reply to our comments.