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 265 forks source link

Pods triggers error on CPT "Incorrect use of <label for=FORM_ELEMENT>" #7278

Open Brian-Milnes opened 3 months ago

Brian-Milnes commented 3 months ago

Description

Checking console for errors shows in Issues:

The label's for attribute doesn't match any element id. This might prevent the browser from correctly autofilling the form and accessibility tools from working correctly. To fix this issue, make sure the label's for attribute references the correct id of a form field.

1 resource:

Version

3.1.4

Testing Instructions

No response

Screenshots / Screencast

image

Possible Workaround

No response

Site Health Information

`
### wp-core ###

version: 6.4.3
site_language: en_GB
user_language: en_GB
timezone: Europe/London
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 430
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /home/asd-cert/htdocs/asd-cert.net
wordpress_size: 2.87 GB (3082506069 bytes)
uploads_path: /home/asd-cert/htdocs/asd-cert.net/wp-content/uploads
uploads_size: 36.11 GB (38774834518 bytes)
themes_path: /home/asd-cert/htdocs/asd-cert.net/wp-content/themes
themes_size: 2.34 GB (2513318314 bytes)
plugins_path: /home/asd-cert/htdocs/asd-cert.net/wp-content/plugins
plugins_size: 336.12 MB (352444060 bytes)
database_size: 898.54 MB (942185183 bytes)
total_size: 42.53 GB (45665288144 bytes)

### wp-dropins (1) ###

object-cache.php: true

### wp-active-theme ###

name: Twenty Seventeen Child (twentyseventeen-child)
version: 1.0.0
author: John Doe
author_website: http://example.com
parent_theme: Twenty Seventeen (twentyseventeen)
theme_features: core-block-patterns, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, woocommerce, widgets-block-editor, post-thumbnails, automatic-feed-links, title-tag, custom-line-height, menus, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, editor-styles, wp-block-styles, responsive-embeds, starter-content, custom-header, widgets
theme_path: /home/asd-cert/htdocs/asd-cert.net/wp-content/themes/twentyseventeen-child
auto_update: Disabled

### wp-parent-theme ###

name: Twenty Seventeen (twentyseventeen)
version: 3.5
author: the WordPress team
author_website: https://en-gb.wordpress.org/
theme_path: /home/asd-cert/htdocs/asd-cert.net/wp-content/themes/twentyseventeen
auto_update: Disabled

### wp-plugins-active (41) ###

AAM Protected Media Files: version: 1.2.2, author: Vasyl Martyniuk <vasyl@vasyltech.com>, Auto-updates disabled
Advanced Access Manager: version: 6.9.23, author: AAM <support@aamplugin.com>, Auto-updates disabled
Advanced Access Manager - Premium Add-On: version: 6.0.10, author: AAM Support <support@aamportal.com>, Auto-updates disabled
Async JavaScript: version: 2.21.08.31, author: Frank Goossens (futtta), Auto-updates disabled
Converter for Media: version: 5.12.3, author: matt plugins, Auto-updates disabled
Custom Taxonomy Order: version: 4.0.0, author: Marcel Pol, Auto-updates disabled
Duplicator Pro: version: 4.5.16.4, author: Duplicator, Auto-updates disabled
Email Log: version: 2.4.9, author: Sudar, Auto-updates disabled
GDPR/CCPA Cookie Consent Banner: version: 3.2.1, author: Termly, Auto-updates disabled
Google Analytics Dashboard for WP (GADWP): version: 7.25.0, author: ExactMetrics, Auto-updates disabled
GP Multi-page Navigation: version: 1.2.8, author: Gravity Wiz, Auto-updates disabled
GP Nested Forms: version: 1.1.53, author: Gravity Wiz, Auto-updates disabled
Gravity Flow: version: 2.9.6, author: Gravity Flow, Auto-updates enabled
Gravity Forms: version: 2.8.6, author: Gravity Forms, Auto-updates enabled
Gravity Forms User Registration Add-On: version: 5.3.0, author: Gravity Forms, Auto-updates disabled
Gravity PDF: version: 6.9.0, author: Blue Liquid Designs, Auto-updates disabled
Gravity Perks: version: 2.3.6, author: Gravity Wiz, Auto-updates disabled
GS Only PDF Preview: version: 1.0.7, author: gitlost, Auto-updates disabled
LightStart - Maintenance Mode, Coming Soon and Landing Page Builder: version: 2.6.10, author: Themeisle, Auto-updates disabled
Members: version: 3.2.9, author: MemberPress, Auto-updates disabled
Pods - Custom Content Types and Fields: version: 3.1.4, author: Pods Framework Team, Auto-updates disabled
Pods Gravity Forms Add-On: version: 1.4.5, author: Pods Framework Team, Auto-updates disabled
Radio Buttons for Taxonomies: version: 2.4.7, author: helgatheviking, Auto-updates disabled
Regenerate Thumbnails Advanced: version: 2.5.0, author: ShortPixel, Auto-updates disabled
Squelch Tabs and Accordions Shortcodes: version: 0.4.4, author: Matt Lowe, Auto-updates disabled
Sucuri Security - Auditing, Malware Scanner and Hardening: version: 1.8.43, author: Sucuri Inc., Auto-updates disabled
Term Management Tools: version: 2.0.1, author: theMikeD, scribu, Auto-updates disabled
Usernoise: version: 3.7.20, author: CherryDev, Auto-updates disabled
User Switching: version: 1.7.3, author: John Blackbourn & contributors, Auto-updates disabled
Webcraftic Disable Comments: version: 1.1.8, author: Webcraftic <wordpress.webraftic@gmail.com>, Auto-updates disabled
WooCommerce: version: 8.7.0, author: Automattic, Auto-updates disabled
Wordfence Security: version: 7.11.4, author: Wordfence, Auto-updates disabled
WP Crontrol: version: 1.16.1, author: John Blackbourn & crontributors, Auto-updates disabled
wpDataTables: version: 5.8.1, author: TMS-Plugins, Auto-updates disabled
WP File Manager: version: 7.2.5, author: mndpsingh287, Auto-updates disabled
WP phpMyAdmin: version: 5.2.1.12, author: Puvox.software, Auto-updates disabled
WPvivid Backup Plugin: version: 0.9.98, author: WPvivid Team, Auto-updates disabled
WPvivid Plugins Pro: version: 2.2.23, author: wpvivid.com, Auto-updates disabled
WPvivid Staging: version: 2.0.18, author: wpvivid.com, Auto-updates disabled
Wrap Form Fields In Gravity Forms: version: 0.1.1, author: Mikkel Rommelhoff, Auto-updates disabled
Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Auto-updates disabled

### wp-plugins-inactive (15) ###

CIO Custom Fields for Woo Pro: version: 1.0.0, author: <a href="http://vipp.com.au">VisualData</a>, Auto-updates disabled
CIO Custom Fields Importer Pro: version: 1.3.1, author: <a href="http://vipp.com.au">VisualData</a>, Auto-updates disabled
Disable Emails: version: 1.8.2, author: WebAware, Auto-updates disabled
Error Log Monitor: version: 1.7.7, author: Janis Elsts, Auto-updates disabled
IP2Location Country Blocker: version: 2.34.5, author: IP2Location, Auto-updates disabled
Pods - Custom Content Types and Fields: version: 9.9.9, author: Pods Framework Team, Auto-updates disabled
Query Monitor: version: 3.15.0, author: John Blackbourn, Auto-updates disabled
WooCommerce EU VAT Compliance (Premium): version: 1.14.13, author: David Anderson, Auto-updates disabled
WooCommerce Speed Drain Repair - WP Fix It: version: 2.0, author: WP Fix It, Auto-updates disabled
WordPress Importer: version: 0.8.2, author: wordpressdotorg, Auto-updates disabled
WP-Sweep: version: 1.1.8, author: Lester 'GaMerZ' Chan, Auto-updates disabled
WP All Export - User Export Add-On Pro: version: 1.0.7, author: Soflyy, Auto-updates disabled
WP All Export Pro: version: 1.8.6, author: Soflyy, Auto-updates disabled
WP All Import - User Import Add-On Pro: version: 1.1.6, author: Soflyy, Auto-updates disabled
WP All Import Pro: version: 4.8.5, author: Soflyy, Auto-updates disabled

### wp-media ###

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1691
imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
imagick_version: 3.7.0
file_uploads: 1
post_max_size: 768M
upload_max_filesize: 768M
max_effective_size: 768 MB
max_file_uploads: 20
imagick_limits: 
    imagick::RESOURCETYPE_AREA: 122 MB
    imagick::RESOURCETYPE_DISK: 1073741824
    imagick::RESOURCETYPE_FILE: 98304
    imagick::RESOURCETYPE_MAP: 512 MB
    imagick::RESOURCETYPE_MEMORY: 256 MB
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: 2.3.0
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 9.55.0

### wp-server ###

server_architecture: Linux 5.15.0-78-generic x86_64
httpd_software: nginx/1.21.4
php_version: 7.4.33 64bit
php_sapi: fpm-fcgi
max_input_variables: 10000
time_limit: 600
memory_limit: 768M
max_input_time: 60
upload_max_filesize: 768M
php_post_max_size: 768M
curl_version: 7.81.0 OpenSSL/3.0.2
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
current: 2024-03-22T16:00:55+00:00
utc-time: Friday, 22-Mar-24 16:00:55 UTC
server-time: 2024-03-22T16:00:53+00:00

### wp-database ###

extension: mysqli
server_version: 8.0.33-0ubuntu0.22.04.4
client_version: mysqlnd 7.4.33
max_allowed_packet: 67108864
max_connections: 512

### wp-constants ###

WP_HOME: https://asd-cert.org
WP_SITEURL: https://asd-cert.org
WP_CONTENT_DIR: /home/asd-cert/htdocs/asd-cert.net/wp-content
WP_PLUGIN_DIR: /home/asd-cert/htdocs/asd-cert.net/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: true
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Undefined
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined

### wp-filesystem ###

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

### pods ###

pods-version: 3.1.4
pods-server-software: nginx/1.21.4
pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
pods-session-save-path: 0;777;/var/lib/php/sessions
pods-session-save-path-exists: No
pods-session-save-path-writable: No
pods-session-max-lifetime: 86400
pods-opcode-cache-apc: No
pods-opcode-cache-memcached: No
pods-opcode-cache-opcache: Yes
pods-opcode-cache-redis: No
pods-object-cache-apc: No
pods-object-cache-apcu: No
pods-object-cache-memcache: No
pods-object-cache-memcached: Yes
pods-object-cache-redis: Yes
pods-memory-current-usage: 53.499M / 40M
pods-memory-current-usage-real: 56.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-relationship-table-status: 61,381
pods-light-mode: No
pods-strict: No
pods-allow-deprecated: Yes
pods-api-cache: Yes
pods-shortcode-allow-evaluate-tags: No
pods-can-use-sessions: No
pods-settings-types_only: Enable [types_only=0]
pods-settings-watch_changed_fields: Enable [watch_changed_fields=1]
pods-settings-metadata_integration: Enable [metadata_integration=1]
pods-settings-metadata_override_get: Enable [metadata_override_get=1]
pods-settings-media_modal_fields: Disable [media_modal_fields=1]
pods-settings-session_auto_start: Disable [session_auto_start=0]
pods-settings-dynamic_features_allow: Enable [dynamic_features_allow=1]
pods-settings-dynamic_features_enabled: Display and Form [dynamic_features_enabled=display,form]
pods-settings-show_access_restricted_messages: Disable [show_access_restricted_messages=0]
pods-settings-show_access_admin_notices: Disable [show_access_admin_notices=0]
pods-settings-dynamic_features_allow_sql_clauses: Restricted [dynamic_features_allow_sql_clauses=simple]
pods-settings-display_callbacks: Restricted [display_callbacks=restricted]
pods-settings-display_callbacks_allowed: esc_attr,esc_html

`

Pods Package

No response

sc0ttkclark commented 3 months ago

Can you confirm what kind of field type that label is from? It sounds like it might be a file field? What config is that field using?

Brian-Milnes commented 3 months ago

Quoting my developer: " for element use for declare id of input element"

"pods append file their label for argument but there is not any input field for that using script is uploading file" e.g: image