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

form inserted via custom field Pods is no longer displayed #7263

Open vjerama opened 8 months ago

vjerama commented 8 months ago

Description

I use the field type Code (Syntax Highlighting). In it I enter the code to display the form (from another application), which so far has displayed fine. Now suddenly it has stopped working. It's only happening with custom field Pods, elsewhere on the website embedded forms are working. It says this error:

(function(i, s, o, g, r, a, m){ i[r] = i[r] || function(){ (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) })(window, document, "script", "https://form.simpleshop.cz/prj/js/SimpleShopService.js", "sss"); sss("createForm", "p3qG"); Prodejní formulář je vytvořen v systému SimpleShop.cz.

I need a quick solution please, we are just about to launch the site into live mode and can't use it. You can see the problem for example on this page (under the Order button): https://dev.blue-sky-aviation.cz/en/kurz/bira-theory-course-basic-instrument-rating-theory-course

In the Tools-Web information is : (I don't know what that means) Warning: file_exists(): open_basedir restriction in effect. File(/var/lib/php/sessions) is not within the allowed path(s): (/home/www/tmp:/home/www/blue-sky-aviation.cz/www/dev.blue-sky-aviation.cz:/etc/ssl/certs:/usr/share/php:/usr/share/geoip) in /home/www/blue-sky-aviation.cz/www/dev.blue-sky-aviation.cz/wp-content/plugins/pods/classes/PodsAdmin.php on line 4560

Warning: is_writable(): open_basedir restriction in effect. File(/var/lib/php/sessions) is not within the allowed path(s): (/home/www/tmp:/home/www/blue-sky-aviation.cz/www/dev.blue-sky-aviation.cz:/etc/ssl/certs:/usr/share/php:/usr/share/geoip) in /home/www/blue-sky-aviation.cz/www/dev.blue-sky-aviation.cz/wp-content/plugins/pods/classes/PodsAdmin.php on line 4564

Warning: Undefined array key "data" in /home/www/blue-sky-aviation.cz/www/dev.blue-sky-aviation.cz/wp-content/plugins/pods/classes/PodsAdmin.php on line 4703

Thank you

Vera

Version

3.1.1.

Testing Instructions

go: https://dev.blue-sky-aviation.cz/en/kurz/bira-theory-course-basic-instrument-rating-theory-course Click Order the course There's supposed to be an order form, but there's just an error

Screenshots / Screencast

Snímek obrazovky 2024-02-23 084752

Possible Workaround

No response

Site Health Information

`
### wp-core ###

version: 6.4.3
site_language: cs_CZ
user_language: cs_CZ
timezone: Europe/Prague
permalink: /%postname%
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: undefined
environment_type: production
user_count: 10
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /home/www/blue-sky-aviation.cz/www/dev.blue-sky-aviation.cz
wordpress_size: 197,27 MB (206852897 bytes)
uploads_path: /home/www/blue-sky-aviation.cz/www/dev.blue-sky-aviation.cz/wp-content/uploads
uploads_size: 418,21 MB (438523370 bytes)
themes_path: /home/www/blue-sky-aviation.cz/www/dev.blue-sky-aviation.cz/wp-content/themes
themes_size: 348,99 KB (357366 bytes)
plugins_path: /home/www/blue-sky-aviation.cz/www/dev.blue-sky-aviation.cz/wp-content/plugins
plugins_size: 156,17 MB (163751911 bytes)
database_size: 157,78 MB (165447680 bytes)
total_size: 929,77 MB (974933224 bytes)

### wp-active-theme ###

name: Hello Elementor (hello-elementor)
version: 3.0.1
author: Elementor tým
author_website: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
parent_theme: none
theme_features: core-block-patterns, widgets-block-editor, menus, post-thumbnails, automatic-feed-links, title-tag, html5, custom-logo, editor-style, align-wide, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider
theme_path: /home/www/blue-sky-aviation.cz/www/dev.blue-sky-aviation.cz/wp-content/themes/hello-elementor
auto_update: Aktivováno

### wp-plugins-active (22) ###

Activity Log: version: 2.9.1, author: Activity Log Team, Automatické aktualizace povoleny
Advanced Editor Tools: version: 5.9.2, author: Automattic, Automatické aktualizace povoleny
Code Snippets: version: 3.6.2, author: Code Snippets Pro, Automatické aktualizace povoleny
Complianz | GDPR/CCPA Cookie Consent: version: 6.5.6, author: Really Simple Plugins, Automatické aktualizace povoleny
Connect Polylang for Elementor: version: 2.4.4, author: Creame, Automatické aktualizace povoleny
Ele Custom Skin: version: 3.1.7, author: Dudaster.com, Automatické aktualizace povoleny
Elementor: version: 3.19.2, author: Elementor.com, Automatické aktualizace povoleny
Elementor Pro: version: 3.19.2, author: Elementor.com, Automatické aktualizace povoleny
Master Addons for Elementor: version: 2.0.5.6, author: Jewel Theme, Automatické aktualizace povoleny
Pods - Custom Content Types and Fields: version: 3.1.1, author: Pods Framework Team, Automatické aktualizace povoleny
Pods Alternative Cache: version: 2.1.7, author: Pods Framework Team, Automatické aktualizace povoleny
Polylang: version: 3.5.4, author: WP SYNTEX, Automatické aktualizace povoleny
Real Media Library (Free): version: 4.22.7, author: devowl.io, Automatické aktualizace povoleny
Redirection: version: 5.4.2, author: John Godley, Automatické aktualizace povoleny
Spotlight - Social Media Feeds: version: 1.6.11, author: RebelCode, Automatické aktualizace povoleny
Widgets for Google Reviews: version: 11.5, author: Trustindex.io <support@trustindex.io>, Automatické aktualizace povoleny
Wordfence Security: version: 7.11.3, author: Wordfence, Automatické aktualizace povoleny
WP-Sweep: version: 1.1.8, author: Lester 'GaMerZ' Chan, Automatické aktualizace povoleny
WPvivid Backup Plugin: version: 0.9.95, author: WPvivid Team, Automatické aktualizace povoleny
Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Automatické aktualizace povoleny
Yoast SEO: version: 22.1, author: Team Yoast, Automatické aktualizace povoleny
Čeština: zalomení řádků: version: 1.0.3, author: Marek Vratil, Automatické aktualizace povoleny

### wp-plugins-inactive (3) ###

Broken Link Checker: version: 2.2.4, author: WPMU DEV, Automatické aktualizace povoleny
Meta pixel for WordPress: version: 3.0.14, author: Facebook, Automatické aktualizace povoleny
WP Super Cache: version: 1.11.0, author: Automattic, Automatické aktualizace povoleny

### code-snippets (2) ###

snippet-5: name: Získání obsahu vlastního pole formular pods, scope: global, modified: 2023-11-10 10:14:09
snippet-6: name: Zvětšení odsazení prodejního formuláře Simpleshop, scope: global, modified: 2023-11-10 10:20:50

### wp-media ###

image_editor: WP_Image_Editor_GD
imagick_module_version: Nedostupné
imagemagick_version: Nedostupné
imagick_version: Nedostupné
file_uploads: 1
post_max_size: 512M
upload_max_filesize: 512M
max_effective_size: 512 MB
max_file_uploads: 20
gd_version: 2.3.3
gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM
ghostscript_version: unknown

### wp-server ###

server_architecture: Linux 6.1.0-vch1-amd64 x86_64
httpd_software: Apache/2.4.57 (Debian)
php_version: 8.2.7 64bit
php_sapi: cgi-fcgi
max_input_variables: 1000
time_limit: 30
memory_limit: 512M
max_input_time: 60
upload_max_filesize: 512M
php_post_max_size: 512M
curl_version: 7.88.1 OpenSSL/3.0.11
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: true
current: 2024-02-23T07:48:51+00:00
utc-time: Friday, 23-Feb-24 07:48:51 UTC
server-time: 2024-02-23T08:48:49+01:00

### wp-database ###

extension: mysqli
server_version: 10.11.6-MariaDB-1:10.11.6+maria~deb12-log
client_version: mysqlnd 8.2.7
max_allowed_packet: 16777216
max_connections: 601

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/www/blue-sky-aviation.cz/www/dev.blue-sky-aviation.cz/wp-content
WP_PLUGIN_DIR: /home/www/blue-sky-aviation.cz/www/dev.blue-sky-aviation.cz/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 512M
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: Nedefinováno
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined

### wp-filesystem ###

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

### pods ###

pods-version: 3.1.1
pods-server-software: Apache/2.4.57 (Debian)
pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0
pods-session-save-path: /var/lib/php/sessions
pods-session-save-path-exists: Ne
pods-session-save-path-writable: Ne
pods-session-max-lifetime: 1440
pods-opcode-cache-apc: Ne
pods-opcode-cache-memcached: Ne
pods-opcode-cache-opcache: Ano
pods-opcode-cache-redis: Ne
pods-object-cache-apc: Ne
pods-object-cache-apcu: Ano
pods-object-cache-memcache: Ne
pods-object-cache-memcached: Ne
pods-object-cache-redis: Ne
pods-memory-current-usage: 96,713M / 40M
pods-memory-current-usage-real: 98,000M
pods-network-wide: Ne
pods-install-location: /wp-content/plugins/pods/
pods-developer: Ne
pods-tableless-mode: Ne
pods-relationship-table-enabled: Ano
pods-relationship-table-status: 242
pods-light-mode: Ne
pods-strict: Ne
pods-allow-deprecated: Ano
pods-api-cache: Ano
pods-shortcode-allow-evaluate-tags: Ne
pods-can-use-sessions: Ne
pods-settings-types_only: Enable [types_only=0]
pods-settings-watch_changed_fields: Disable [watch_changed_fields=0]
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 a Form [dynamic_features_enabled=display,form]
pods-settings-show_access_restricted_messages: Disable [show_access_restricted_messages=0]
pods-settings-show_access_admin_notices: Enable [show_access_admin_notices=1]
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

### pll_options ###

browser: 0: Deaktivace deaktivace jazyka prohlížeče
rewrite: 1: Odstranit /language/ v pěkných URL
hide_default: 1: U výchozího jazyka v URL skrýt jeho kód
force_lang: 1: Jazyk bude nastaven podle adresáře v pěkných URL
redirect_lang: 1: Úvodní stránka bude mít v URL jen kód jazyka a ne název stránky či její ID
media_support: 0: Média nejsou přeložena
sync: 
    0: taxonomies
    1: ping_status
    2: sticky_posts
    3: post_date
    4: post_format
    5: post_parent
    6: _wp_page_template
    7: _thumbnail_id
post_types: post, page, wp_block, mastermega_content, kurz, letadla, udalosti, _pods_template, elementor_library, e-landing-page
taxonomies: category, post_tag
version: 3.5.4
default_lang: cs
menu-1: cs => 130 | en => 255
menu-2: cs => 0 | en => 0
previous_version: 3.5.3

### pll_language_cs ###

name: Čeština
slug: cs
term_group: 0
term_id: 131
locale: cs_CZ
is_rtl: 0
w3c: cs-CZ
facebook: cs_CZ
home_url: https://dev.blue-sky-aviation.cz/
search_url: https://dev.blue-sky-aviation.cz/
page_on_front: 3831
page_for_posts: 0
flag_code: cz
flag_url: https://dev.blue-sky-aviation.cz/wp-content/plugins/polylang/flags/cz.png
custom_flag_url: 0
active: true
fallbacks: 0
is_default: true
term_props: 
    language/term_id: 131
    language/term_taxonomy_id: 131
    language/count: 198
    term_language/term_id: 132
    term_language/term_taxonomy_id: 132
    term_language/count: 12

### pll_language_en ###

name: English
slug: en
term_group: 0
term_id: 134
locale: en_GB
is_rtl: 0
w3c: en-GB
facebook: en_GB
home_url: https://dev.blue-sky-aviation.cz/en/
search_url: https://dev.blue-sky-aviation.cz/en/
page_on_front: 20386
page_for_posts: 0
flag_code: gb
flag_url: https://dev.blue-sky-aviation.cz/wp-content/plugins/polylang/flags/gb.png
custom_flag_url: 0
active: true
fallbacks: 0
is_default: 0
term_props: 
    language/term_id: 134
    language/term_taxonomy_id: 134
    language/count: 164
    term_language/term_id: 135
    term_language/term_taxonomy_id: 135
    term_language/count: 8

### pll_warnings ###

post-no-lang: udalosti => 23266 , 23267 , 23713 , 23245 , 23248
wpml: 
    plugins/wordpress-seo: /home/www/blue-sky-aviation.cz/www/dev.blue-sky-aviation.cz/wp-content/plugins/wordpress-seo/wpml-config.xml

`

Pods Package

No response

vjerama commented 8 months ago

HI, I found that in Pods version 3.0.10. the problem does not appear and everything is ok. Since the higher version the form stopped displaying. I have now put an older version of PODS on the web, so you won't see the error there now. However, it would need to be edited so that the next update doesn't overwrite it again.

Cantfindauniquename commented 8 months ago

Having this same problem on several websites. Frustrating.