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.
The File / Image / Video field will not accept a new upload. Problem disappears if you edit the Pods and re-save it.
Testing instructions
Go to an EXISTING site
Create a new custom post - pods must contains a file type field
Upload a PDF file to the field.
No error - but file is NOT attached.
If you open the Pods (dashboard->Pods Admin->Edit Pods->Publications) and save (no need to make a change) the problem goes away. This is why you must test this on a site that has an existing custom post that contains a file upload field. I have literally hundreds of such sites if you need places to test it out I can give you access.......
Description
The File / Image / Video field will not accept a new upload. Problem disappears if you edit the Pods and re-save it.
Testing instructions
If you open the Pods (dashboard->Pods Admin->Edit Pods->Publications) and save (no need to make a change) the problem goes away. This is why you must test this on a site that has an existing custom post that contains a file upload field. I have literally hundreds of such sites if you need places to test it out I can give you access.......
Expected behavior
File should be attached to the Pods custom post.
Screenshots / screencast
https://www.loom.com/share/dd64926f2f7e47df9c6d65a219a7f851
Pods version
2.8.3
Other super helpful information
This has happened on multiple sites in the past week or so. Many different custom posts, many different plug-in environments.
WordPress Environment
``` ` ### wp-core ### version: 5.8.1 site_language: en_US user_language: en_US timezone: America/New_York permalink: /%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: closed environment_type: production user_count: 4 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /home/cheslerlab/www/www wordpress_size: 43.72 MB (45840708 bytes) uploads_path: /home/cheslerlab/www/www/wp-content/uploads uploads_size: 507.80 MB (532467937 bytes) themes_path: /home/cheslerlab/www/www/wp-content/themes themes_size: 56.03 MB (58748190 bytes) plugins_path: /home/cheslerlab/www/www/wp-content/plugins plugins_size: 61.41 MB (64397065 bytes) database_size: 11.49 MB (12046278 bytes) total_size: 680.45 MB (713500178 bytes) ### wp-active-theme ### name: AWP enfold (awp-enfold) version: 1.0 author: Kriesi author_website: http://www.kriesi.at parent_theme: Enfold (enfold) theme_features: core-block-patterns, avia_exclude_bbPress, deactivate_tribe_events_calendar, avia_exclude_GFForms, avia_exclude_menu_exchange, avia_exclude_relevanssi, avia_exclude_WooCommerce, avia_exclude_wpSEO, avia_exclude_wpml, avia_exclude_instagram_feed, avia_exclude_leaflet_map, avia_mega_menu, avia_improved_backend_style, avia_option_pages_toggles, avia_sidebar_manager, automatic-feed-links, nav_menus, menus, widgets, post-formats, avia-disable-default-shortcodes, avia_post_meta_compat, force-post-thumbnails-in-widget, post-thumbnails, widgets-block-editor, title-tag, editor-styles, editor-style, customize-selective-refresh-widgets, responsive-embeds, editor-color-palette, editor-font-sizes, avia_no_session_support theme_path: /home/cheslerlab/www/www/wp-content/themes/awp-enfold auto_update: Disabled ### wp-parent-theme ### name: Enfold (enfold) version: 4.8.6.5 author: Kriesi author_website: https://kriesi.at theme_path: /home/cheslerlab/www/www/wp-content/themes/enfold auto_update: Disabled ### wp-plugins-active (13) ### Admin Menu Editor Pro: version: 2.16, author: Janis Elsts, Auto-updates enabled AWP PODS Plugin: version: 0.0.1, author: Academic Web Pages, Auto-updates disabled Default featured image: version: 1.7.1, author: Jan Willem Oostendorp, Auto-updates disabled Email Address Encoder ✪: version: 0.3.8, author: Till Krüss (latest version: 0.3.9), Auto-updates disabled FacetWP: version: 3.9.1, author: FacetWP, LLC, Auto-updates disabled FacetWP - Pods integration: version: 1.2.2, author: FacetWP, LLC, Auto-updates disabled Password Protected: version: 2.5, author: Ben Huson, Auto-updates enabled PDF Embedder Premium: version: 4.4.3, author: Lever Technology LLC, Auto-updates disabled PDF Thumbnails Premium: version: 1.4.2, author: Dan Lester, Auto-updates disabled Pods - Custom Content Types and Fields: version: 2.8.3, author: Pods Framework Team, Auto-updates enabled Smush Pro: version: 3.9.3, author: WPMU DEV, Auto-updates disabled Widget Context: version: 1.3.2, author: Kaspars Dambis, Auto-updates disabled WPMU DEV Dashboard: version: 4.11.5, author: WPMU DEV, Auto-updates enabled ### wp-plugins-inactive (6) ### Auto Image Attributes From Filename With Bulk Updater: version: 2.1, author: Arun Basil Lal, Auto-updates enabled CIO Custom Fields Importer Pro: version: 1.3.1, author: VisualData, Auto-updates enabled Really Simple SSL: version: 5.1.3, author: Really Simple Plugins, Auto-updates enabled Relevanssi Premium: version: 1.16.0, author: Mikko Saari, Auto-updates disabled WordPress Importer: version: 0.7, author: wordpressdotorg, Auto-updates disabled WP All Import Pro: version: 4.6.9, author: Soflyy, Auto-updates disabled ### 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: 60M upload_max_filesize: 60M max_effective_size: 60 MB max_file_uploads: 20 gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: 9.27 ### wp-server ### server_architecture: Linux 4.14.244-sure x86_64 httpd_software: Apache php_version: 7.4.15 64bit php_sapi: fpm-fcgi max_input_variables: 1000 time_limit: 120 memory_limit: -1 max_input_time: 60 upload_max_filesize: 60M php_post_max_size: 60M curl_version: 7.64.0 OpenSSL/1.1.1d suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 5.7.31-percona-sure1-log client_version: mysqlnd 7.4.15 ### wp-constants ### WP_HOME: undefined WP_SITEURL: https://cheslerlab.org WP_CONTENT_DIR: /home/cheslerlab/www/www/wp-content WP_PLUGIN_DIR: /home/cheslerlab/www/www/wp-content/plugins WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: -1 WP_DEBUG: false WP_DEBUG_DISPLAY: false WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8mb4 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/95.0.4638.69 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: 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: No pods-object-cache-redis: No pods-memory-current-usage: 47.925M pods-memory-current-usage-real: 14.000M pods-network-wide: No pods-install-location: /home/cheslerlab/www/www/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: Yes pods-sessions: Disable sessions pods-can-use-sessions: Yes ````Pods Package Export
```json { "meta": { "version": "2.8.3", "build": 1636385156 }, "pods": [ { "name": "publication", "id": 365, "label": "Publications", "description": "", "type": "post_type", "storage": "meta", "show_in_menu": "1", "label_singular": "Publication", "public": "1", "show_ui": "1", "supports_title": "1", "supports_editor": "1", "publicly_queryable": "1", "exclude_from_search": "0", "capability_type": "post", "capability_type_custom": "publication", "capability_type_extra": "1", "has_archive": "0", "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": "1", "supports_trackbacks": "0", "supports_custom_fields": "0", "supports_comments": "0", "supports_revisions": "0", "supports_page_attributes": "0", "supports_post_formats": "0", "built_in_taxonomies_category": "1", "built_in_taxonomies_link_category": "0", "built_in_taxonomies_portfolio_entries": "0", "built_in_taxonomies_post_tag": "0", "show_in_nav_menus": "1", "show_in_admin_bar": "1", "pfat_enable": "1", "pfat_run_outside_loop": "0", "pfat_single": "publication-single", "pfat_append_single": "replace", "pfat_filter_single": "the_content", "pfat_append_archive": "append", "pfat_filter_archive": "custom", "rest_enable": "0", "rest_base": "publication", "read_all": "0", "write_all": "0", "menu_position": "0", "pfat_filter_archive_custom": "the_content", "groups": [ { "name": "more_fields", "label": "More Fields", "fields": [ { "name": "authors", "id": 1548, "label": "Authors", "description": "", "weight": 0, "type": "text", "required": "0", "text_allow_shortcode": "0", "text_allow_html": "0", "text_allowed_html_tags": "strong em a ul ol li b i", "text_max_length": "255", "phone_enable_phone_extension": "1", "paragraph_allow_html": "1", "paragraph_oembed": "0", "paragraph_wptexturize": "1", "paragraph_convert_chars": "1", "paragraph_wpautop": "1", "paragraph_allow_shortcode": "0", "wysiwyg_media_buttons": "1", "wysiwyg_oembed": "0", "wysiwyg_wptexturize": "1", "wysiwyg_convert_chars": "1", "wysiwyg_wpautop": "1", "wysiwyg_allow_shortcode": "0", "code_allow_shortcode": "0", "oembed_enabled_providers_amazoncn": "0", "oembed_enabled_providers_amazoncouk": "0", "oembed_enabled_providers_amazoncom": "0", "oembed_enabled_providers_amazoncomau": "0", "oembed_enabled_providers_amazonin": "0", "oembed_enabled_providers_animotocom": "0", "oembed_enabled_providers_cloudupcom": "0", "oembed_enabled_providers_crowdsignalcom": "0", "oembed_enabled_providers_dailymotioncom": "0", "oembed_enabled_providers_flickrcom": "0", "oembed_enabled_providers_imgurcom": "0", "oembed_enabled_providers_issuucom": "0", "oembed_enabled_providers_kickstartercom": "0", "oembed_enabled_providers_meetupcom": "0", "oembed_enabled_providers_mixcloudcom": "0", "oembed_enabled_providers_redditcom": "0", "oembed_enabled_providers_reverbnationcom": "0", "oembed_enabled_providers_screencastcom": "0", "oembed_enabled_providers_scribdcom": "0", "oembed_enabled_providers_slidesharenet": "0", "oembed_enabled_providers_smugmugcom": "0", "oembed_enabled_providers_someecardscom": "0", "oembed_enabled_providers_soundcloudcom": "0", "oembed_enabled_providers_speakerdeckcom": "0", "oembed_enabled_providers_spotifycom": "0", "oembed_enabled_providers_tedcom": "0", "oembed_enabled_providers_tiktokcom": "0", "oembed_enabled_providers_tumblrcom": "0", "oembed_enabled_providers_twittercom": "0", "oembed_enabled_providers_vimeocom": "0", "oembed_enabled_providers_wordpresscom": "0", "oembed_enabled_providers_wordpresstv": "0", "oembed_enabled_providers_youtubecom": "0", "pick_post_status": [ "publish" ], "admin_only": "0", "restrict_role": "0", "restrict_capability": "0", "hidden": "0", "read_only": "0", "roles_allowed": [ "administrator" ], "rest_read": "0", "rest_write": "0", "rest_pick_response": "array", "rest_pick_depth": "1" }, { "name": "journal", "id": 1549, "label": "Journal", "description": "", "weight": 1, "type": "text", "required": "0", "text_allow_shortcode": "0", "text_allow_html": "0", "text_allowed_html_tags": "strong em a ul ol li b i", "text_max_length": "255", "phone_enable_phone_extension": "1", "paragraph_allow_html": "1", "paragraph_oembed": "0", "paragraph_wptexturize": "1", "paragraph_convert_chars": "1", "paragraph_wpautop": "1", "paragraph_allow_shortcode": "0", "wysiwyg_media_buttons": "1", "wysiwyg_oembed": "0", "wysiwyg_wptexturize": "1", "wysiwyg_convert_chars": "1", "wysiwyg_wpautop": "1", "wysiwyg_allow_shortcode": "0", "code_allow_shortcode": "0", "oembed_enabled_providers_amazoncn": "0", "oembed_enabled_providers_amazoncouk": "0", "oembed_enabled_providers_amazoncom": "0", "oembed_enabled_providers_amazoncomau": "0", "oembed_enabled_providers_amazonin": "0", "oembed_enabled_providers_animotocom": "0", "oembed_enabled_providers_cloudupcom": "0", "oembed_enabled_providers_crowdsignalcom": "0", "oembed_enabled_providers_dailymotioncom": "0", "oembed_enabled_providers_flickrcom": "0", "oembed_enabled_providers_imgurcom": "0", "oembed_enabled_providers_issuucom": "0", "oembed_enabled_providers_kickstartercom": "0", "oembed_enabled_providers_meetupcom": "0", "oembed_enabled_providers_mixcloudcom": "0", "oembed_enabled_providers_redditcom": "0", "oembed_enabled_providers_reverbnationcom": "0", "oembed_enabled_providers_screencastcom": "0", "oembed_enabled_providers_scribdcom": "0", "oembed_enabled_providers_slidesharenet": "0", "oembed_enabled_providers_smugmugcom": "0", "oembed_enabled_providers_someecardscom": "0", "oembed_enabled_providers_soundcloudcom": "0", "oembed_enabled_providers_speakerdeckcom": "0", "oembed_enabled_providers_spotifycom": "0", "oembed_enabled_providers_tedcom": "0", "oembed_enabled_providers_tiktokcom": "0", "oembed_enabled_providers_tumblrcom": "0", "oembed_enabled_providers_twittercom": "0", "oembed_enabled_providers_vimeocom": "0", "oembed_enabled_providers_wordpresscom": "0", "oembed_enabled_providers_wordpresstv": "0", "oembed_enabled_providers_youtubecom": "0", "pick_post_status": [ "publish" ], "admin_only": "0", "restrict_role": "0", "restrict_capability": "0", "hidden": "0", "read_only": "0", "roles_allowed": [ "administrator" ], "rest_read": "0", "rest_write": "0", "rest_pick_response": "array", "rest_pick_depth": "1" }, { "name": "pdf_file", "id": 366, "label": "Article PDF", "description": "Link to Article PDF", "weight": 2, "type": "file", "pick_object": "custom-simple", "required": "0", "file_format_type": "single", "file_uploader": "attachment", "file_attachment_tab": "upload", "file_edit_title": "1", "file_linked": "1", "file_limit": "0", "file_restrict_filesize": "10MB", "file_type": "other", "file_add_button": "Add File", "file_modal_title": "Attach a file", "file_modal_add_button": "Add File", "file_wp_gallery_output": "0", "file_wp_gallery_link": "post", "file_wp_gallery_columns": "1", "file_wp_gallery_random_sort": "0", "file_wp_gallery_size": "thumbnail", "pick_allow_html": "0", "pick_post_status": [ "publish" ], "admin_only": "0", "restrict_role": "0", "restrict_capability": "0", "hidden": "0", "read_only": "0", "roles_allowed": [ "administrator" ], "rest_read": "0", "rest_write": "0", "rest_pick_response": "array", "rest_pick_depth": "2", "unique": "0", "file_allowed_extensions": "pdf", "file_show_edit_link": "0", "file_field_template": "rows", "oembed_enabled_providers_collegehumorcom": "0", "file_upload_dir": "wp" }, { "name": "external_link", "id": 367, "label": "Article URL", "description": "URl to online article", "weight": 3, "type": "website", "required": "0", "website_format": "normal", "website_allow_port": "0", "website_clickable": "0", "website_new_window": "0", "website_max_length": "255", "website_html5": "0", "oembed_enabled_providers_collegehumorcom": "0", "pick_post_status": [ "publish" ], "admin_only": "0", "restrict_role": "0", "restrict_capability": "0", "hidden": "0", "read_only": "0", "roles_allowed": [ "administrator" ], "rest_read": "0", "rest_write": "0", "rest_pick_response": "array", "rest_pick_depth": "2", "unique": "0", "website_repeatable": "0" }, { "name": "related_research", "id": 434, "label": "Related Research", "description": "", "weight": 4, "type": "pick", "pick_object": "post_type", "pick_val": "research", "sister_id": "430", "required": "0", "text_allow_shortcode": "0", "text_allow_html": "0", "phone_enable_phone_extension": "1", "paragraph_allow_html": "1", "paragraph_oembed": "0", "paragraph_wptexturize": "1", "paragraph_convert_chars": "1", "paragraph_wpautop": "1", "paragraph_allow_shortcode": "0", "wysiwyg_media_buttons": "1", "wysiwyg_oembed": "0", "wysiwyg_wptexturize": "1", "wysiwyg_convert_chars": "1", "wysiwyg_wpautop": "1", "wysiwyg_allow_shortcode": "0", "code_allow_shortcode": "0", "oembed_enabled_providers_amazoncn": "0", "oembed_enabled_providers_amazoncouk": "0", "oembed_enabled_providers_amazoncom": "0", "oembed_enabled_providers_amazoncomau": "0", "oembed_enabled_providers_amazonin": "0", "oembed_enabled_providers_animotocom": "0", "oembed_enabled_providers_cloudupcom": "0", "oembed_enabled_providers_crowdsignalcom": "0", "oembed_enabled_providers_dailymotioncom": "0", "oembed_enabled_providers_flickrcom": "0", "oembed_enabled_providers_imgurcom": "0", "oembed_enabled_providers_issuucom": "0", "oembed_enabled_providers_kickstartercom": "0", "oembed_enabled_providers_meetupcom": "0", "oembed_enabled_providers_mixcloudcom": "0", "oembed_enabled_providers_redditcom": "0", "oembed_enabled_providers_reverbnationcom": "0", "oembed_enabled_providers_screencastcom": "0", "oembed_enabled_providers_scribdcom": "0", "oembed_enabled_providers_slidesharenet": "0", "oembed_enabled_providers_smugmugcom": "0", "oembed_enabled_providers_someecardscom": "0", "oembed_enabled_providers_soundcloudcom": "0", "oembed_enabled_providers_speakerdeckcom": "0", "oembed_enabled_providers_spotifycom": "0", "oembed_enabled_providers_tedcom": "0", "oembed_enabled_providers_tiktokcom": "0", "oembed_enabled_providers_tumblrcom": "0", "oembed_enabled_providers_twittercom": "0", "oembed_enabled_providers_vimeocom": "0", "oembed_enabled_providers_wordpresscom": "0", "oembed_enabled_providers_wordpresstv": "0", "oembed_enabled_providers_youtubecom": "0", "pick_format_type": "multi", "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_post_status": [ "publish" ], "admin_only": "0", "restrict_role": "0", "restrict_capability": "0", "hidden": "0", "read_only": "0", "roles_allowed": [ "administrator" ], "rest_read": "0", "rest_write": "0", "rest_pick_response": "array", "rest_pick_depth": "2", "unique": "0" } ] } ] } ] }```