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

Forms are not displaying on public-facing pages #6523

Closed nancymac closed 1 year ago

nancymac commented 2 years ago

Description

No input boxes appear when using pods-form.

This can be seen on several of my sites:

No input box appears…

(This had been working; not sure when it stopped)

Version

2.8.17

Testing Instructions

View links above.

Screenshots / Screencast

No response

Possible Workaround

was able to use gravity forms to collect initial values, but cannot use for specific field updates as it requires the single template.

Site Health Information

`
### wp-core ###

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

### wp-paths-sizes ###

wordpress_path: /home/reduce/www/staging
wordpress_size: 1.56 GB (1676321654 bytes)
uploads_path: /home/reduce/www/staging/wp-content/uploads
uploads_size: 3.00 GB (3223796009 bytes)
themes_path: /home/reduce/www/staging/wp-content/themes
themes_size: 61.25 MB (64229325 bytes)
plugins_path: /home/reduce/www/staging/wp-content/plugins
plugins_size: 129.52 MB (135814441 bytes)
database_size: 155.10 MB (162632378 bytes)
total_size: 4.90 GB (5262793807 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, avia_exclude_menu_exchange, avia_exclude_pojo_accessibility, avia_exclude_wp_accessibility, 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_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/reduce/www/staging/wp-content/themes/awp-enfold
auto_update: Disabled

### wp-parent-theme ###

name: Enfold (enfold)
version: 4.9.2.3
author: Kriesi
author_website: https://kriesi.at
theme_path: /home/reduce/www/staging/wp-content/themes/enfold
auto_update: Disabled

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

Twenty Twenty-Two: version: 1.1, author: the WordPress team (latest version: 1.2), Auto-updates disabled

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

AWP PODS Plugin: version: 0.0.1, author: Academic Web Pages, Auto-updates disabled
Download Monitor: version: 4.5.94, author: WPChill, Auto-updates enabled
FLORIDA REGIONAL MAP: version: 1.0, author: WP Map Plugins, Auto-updates disabled
Gravity Forms: version: 2.6.3, author: Gravity Forms, Auto-updates disabled
Interactive Geo Maps: version: 1.5.6, author: Carlos Moreira, Auto-updates disabled
List category posts: version: 0.86.1, author: Fernando Briano, Auto-updates enabled
Members: version: 3.2.1, author: MemberPress, Auto-updates enabled
PDF Embedder Premium: version: 4.4.3, author: Lever Technology LLC, Auto-updates disabled
Pods - Custom Content Types and Fields: version: 2.8.17, author: Pods Framework Team, Auto-updates enabled
Pods Gravity Forms Add-On: version: 1.4.4, author: Pods Framework Team, Auto-updates disabled
The Events Calendar: version: 5.16.0, author: The Events Calendar, Auto-updates enabled
The Events Calendar PRO: version: 5.14.1, author: The Events Calendar, Auto-updates disabled
WP All Export Pro: version: 1.7.6, author: Soflyy, Auto-updates disabled
WP Google Maps: version: 8.1.22, author: WP Google Maps, Auto-updates enabled
WP Google Maps - Pro Add-on: version: 8.1.20, author: WP Google Maps, Auto-updates enabled
WPMU DEV Dashboard: version: 4.11.12, author: WPMU DEV (latest version: 4.11.13), Auto-updates enabled

### wp-media ###

image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
imagick_version: Not available
file_uploads: File uploads is turned off
post_max_size: 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 5.15.31-sure x86_64
httpd_software: Apache
php_version: 7.4.28 64bit
php_sapi: fpm-fcgi
max_input_variables: 1000
time_limit: 120
memory_limit: 3000M
max_input_time: -1
upload_max_filesize: 60M
php_post_max_size: 60M
curl_version: 7.64.0 OpenSSL/1.1.1n
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: false

### wp-database ###

extension: mysqli
server_version: 5.7.36-39-log
client_version: mysqlnd 7.4.28
max_allowed_packet: 67108864
max_connections: 300

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/reduce/www/staging/wp-content
WP_PLUGIN_DIR: /home/reduce/www/staging/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 3000M
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: Undefined
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_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 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: 86.709M
pods-memory-current-usage-real: 18.000M
pods-network-wide: No
pods-install-location: /wp-content/plugins/pods/
pods-developer: No
pods-tableless-mode: No
pods-relationship-table-enabled: Yes
pods-light-mode: No
pods-strict: No
pods-allow-deprecated: Yes
pods-api-cache: Yes
pods-shortcode-allow-evaluate-tags: No
pods-sessions: Enable sessions
pods-can-use-sessions: Yes
pods-relationship-table-status: 2,850

`

Pods Package

`
### wp-core ###

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

### wp-paths-sizes ###

wordpress_path: /home/reduce/www/staging
wordpress_size: 1.56 GB (1676321654 bytes)
uploads_path: /home/reduce/www/staging/wp-content/uploads
uploads_size: 3.00 GB (3223796009 bytes)
themes_path: /home/reduce/www/staging/wp-content/themes
themes_size: 61.25 MB (64229325 bytes)
plugins_path: /home/reduce/www/staging/wp-content/plugins
plugins_size: 129.52 MB (135814441 bytes)
database_size: 155.10 MB (162632378 bytes)
total_size: 4.90 GB (5262793807 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, avia_exclude_menu_exchange, avia_exclude_pojo_accessibility, avia_exclude_wp_accessibility, 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_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/reduce/www/staging/wp-content/themes/awp-enfold
auto_update: Disabled

### wp-parent-theme ###

name: Enfold (enfold)
version: 4.9.2.3
author: Kriesi
author_website: https://kriesi.at
theme_path: /home/reduce/www/staging/wp-content/themes/enfold
auto_update: Disabled

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

Twenty Twenty-Two: version: 1.1, author: the WordPress team (latest version: 1.2), Auto-updates disabled

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

AWP PODS Plugin: version: 0.0.1, author: Academic Web Pages, Auto-updates disabled
Download Monitor: version: 4.5.94, author: WPChill, Auto-updates enabled
FLORIDA REGIONAL MAP: version: 1.0, author: WP Map Plugins, Auto-updates disabled
Gravity Forms: version: 2.6.3, author: Gravity Forms, Auto-updates disabled
Interactive Geo Maps: version: 1.5.6, author: Carlos Moreira, Auto-updates disabled
List category posts: version: 0.86.1, author: Fernando Briano, Auto-updates enabled
Members: version: 3.2.1, author: MemberPress, Auto-updates enabled
PDF Embedder Premium: version: 4.4.3, author: Lever Technology LLC, Auto-updates disabled
Pods - Custom Content Types and Fields: version: 2.8.17, author: Pods Framework Team, Auto-updates enabled
Pods Gravity Forms Add-On: version: 1.4.4, author: Pods Framework Team, Auto-updates disabled
The Events Calendar: version: 5.16.0, author: The Events Calendar, Auto-updates enabled
The Events Calendar PRO: version: 5.14.1, author: The Events Calendar, Auto-updates disabled
WP All Export Pro: version: 1.7.6, author: Soflyy, Auto-updates disabled
WP Google Maps: version: 8.1.22, author: WP Google Maps, Auto-updates enabled
WP Google Maps - Pro Add-on: version: 8.1.20, author: WP Google Maps, Auto-updates enabled
WPMU DEV Dashboard: version: 4.11.12, author: WPMU DEV (latest version: 4.11.13), Auto-updates enabled

### wp-media ###

image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
imagick_version: Not available
file_uploads: File uploads is turned off
post_max_size: 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 5.15.31-sure x86_64
httpd_software: Apache
php_version: 7.4.28 64bit
php_sapi: fpm-fcgi
max_input_variables: 1000
time_limit: 120
memory_limit: 3000M
max_input_time: -1
upload_max_filesize: 60M
php_post_max_size: 60M
curl_version: 7.64.0 OpenSSL/1.1.1n
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: false

### wp-database ###

extension: mysqli
server_version: 5.7.36-39-log
client_version: mysqlnd 7.4.28
max_allowed_packet: 67108864
max_connections: 300

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/reduce/www/staging/wp-content
WP_PLUGIN_DIR: /home/reduce/www/staging/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 3000M
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: Undefined
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_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 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: 86.709M
pods-memory-current-usage-real: 18.000M
pods-network-wide: No
pods-install-location: /wp-content/plugins/pods/
pods-developer: No
pods-tableless-mode: No
pods-relationship-table-enabled: Yes
pods-light-mode: No
pods-strict: No
pods-allow-deprecated: Yes
pods-api-cache: Yes
pods-shortcode-allow-evaluate-tags: No
pods-sessions: Enable sessions
pods-can-use-sessions: Yes
pods-relationship-table-status: 2,850

`
sc0ttkclark commented 2 years ago

@nancymac Pods 2.8.18 now includes a new filter pods_init_register_assets_load_pods_dfv_on_front. You can turn this on to see if it resolves your problem with the theme/plugins on your site that seem to be conflicting with our normal enqueue process.

add_filter( 'pods_init_register_assets_load_pods_dfv_on_front', '__return_true' );
nancymac commented 2 years ago

As far as I can tell, upgrading PODS and adding this line

add_filter( 'pods_init_register_assets_load_pods_dfv_on_front', '__return_true' );

to functions.php did nothing. Am I adding the filter incorrectly?

These were my two original examples; they remain the same as they were - no input fields.

On Fri, Jun 10, 2022 at 12:44 AM Scott Kingsley Clark < @.***> wrote:

@nancymac https://github.com/nancymac Pods 2.8.18 now includes a new filter pods_init_register_assets_load_pods_dfv_on_front. You can turn this on to see if it resolves your problem with the theme/plugins on your site that seem to be conflicting with our normal enqueue process.

add_filter( 'pods_init_register_assets_load_pods_dfv_on_front', '__return_true' );

— Reply to this email directly, view it on GitHub https://github.com/pods-framework/pods/issues/6523#issuecomment-1151933861, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPYJDUILK34NJVOKRTYPN3VOLBZ7ANCNFSM5XQYQPKQ . You are receiving this because you were mentioned.Message ID: @.***>

--

Nancy Rhodes McNamara l Founder l 203.982.5259 browse our portfolio https://www.academicwebpages.com

sc0ttkclark commented 1 year ago

I can't seem to reproduce this specific issue, can you try with the latest Pods 2.9.8 (or Pods 2.9.9 when that is released in the next day)?

If you'd like to join our Live Community Pods Slack at https://support.pods.io/chat/ -- I'm sure we can help you debug this more quickly and get to the bottom of the issue. Once you join, just look for me and send me a Direct Message and I can work with you to figure this out.

Is that something you're open to?

sc0ttkclark commented 1 year ago

After reviewing your site with your help tonight, it appears to be that one of the scripts "media-views" is being removed from loading by one of the plugins or the theme on your site. At this point, it's a compatibility issue since Pods depends on those scripts to function.

nancymac commented 1 year ago

Scott, I was able to get a work-around from the Enfold theme developers for this and PODS forms now works. Thanks, Nancy

On Sun, Nov 13, 2022 at 7:41 PM Scott Kingsley Clark < @.***> wrote:

Closed #6523 https://github.com/pods-framework/pods/issues/6523 as not planned.

— Reply to this email directly, view it on GitHub https://github.com/pods-framework/pods/issues/6523#event-7799453542, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPYJDR2V3DVY2OCXZZK5U3WIGDFLANCNFSM5XQYQPKQ . You are receiving this because you were mentioned.Message ID: @.***>

--

Nancy Rhodes McNamara l Founder l 203.982.5259 browse our portfolio https://www.academicwebpages.com