Replies: 3 comments
-
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Beta Was this translation helpful? Give feedback.
-
Hello @gnd Please enable debug and let us know what the internal error is: https://wordpress.org/support/article/debugging-in-wordpress/ I'd also like to comment on your setup. Cheers, Jory |
Beta Was this translation helpful? Give feedback.
-
Hi @JoryHogeveen, i have enabled debug in wp-config.php as well as logging into a error log, however nothing is shown either on the screen, or in the logfile. I'm sure its not a permissions issue with the file. As i described above, only the first occurrence is saved, the others are not, and in the web browser's console i again see the same errors. As for the Taxonomy - it is connected to several fields of the post (this is also described above) and i dont see how attaching that to the post type in Advanced options would help me.. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I have a WP instance modified with custom PODS fields and taxonomies. Both WP and PODS are udpated to the latest versions on a machine running PHP 7.3.11-1.
One custom taxonomy is called Osoby (People). Its only field is the field "web", but this is currently not used.
The taxonomy is linked to several custom fields in the WP post:
artists
Relationship [type: pick]
› Osoby (osoby) (Taxonomy)
curators
Relationship [type: pick]
› Osoby (osoby) (Taxonomy)
performers
Relationship [type: pick]
› Osoby (osoby) (Taxonomy)
sound
Relationship [type: pick]
› Osoby (osoby) (Taxonomy)
edit
Relationship [type: pick]
› Osoby (osoby) (Taxonomy)
camera
Relationship [type: pick]
› Osoby (osoby) (Taxonomy)
(and some more.)
One person can have several roles in a given post, so sometimes it happens that I put the same name into sound, edit and camera. When I do this and try to save the post, WP tells me (with the little popup-up in the lower left corner that the post is saved), however the Update button in the upper right corner still says "Updating..". The result is that only the first mention of the person is saved and the rest is not saved. When I check the console for errors, I get:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
post.php?post=210&action=edit:1 Uncaught (in promise)
Response
type: "basic"
url: "https://XXXX/wp-admin/post.php?post=210&action=edit&meta-box-loader=1&meta-box-loader-nonce=835264a07f&_locale=user"
redirected: false
status: 500
ok: false
statusText: "Internal Server Error"
headers: Headers {}
body: (...)
bodyUsed: false
proto: Response
When I edit the post afterwards, I can add the person into the rest of the roles and get no more errors. So it seems like PODS has some problems when adding the same new taxonomy term into several custom fields. Please let me know how I can help you debug this further. Thx !
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect all the custom fields with the person's name to be saved. However only the first mention is.
Pods Version
Version 2.7.16.2
WordPress Environment
wp-core
version: 5.3.2
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%postname%/
https_status: true
user_registration: 0
default_comment_status: closed
multisite: false
user_count: 2
dotorg_communication: true
wp-active-theme
name: All You Can (allyoucan)
version: 1.0
author: gnd
author_website: https://github.com/gnd
parent_theme: none
theme_features: undefined
wp-plugins-active (2)
Media from FTP: version: 11.04, author: Katsushi Kawamori
Pods - Custom Content Types and Fields: version: 2.7.16.2, author: Pods Framework Team
wp-media
image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
gd_version: 2.2.5
ghostscript_version: 9.27
wp-server
server_architecture: Linux 4.19.0-5-amd64 x86_64
httpd_software: Apache/2.4.38 (Debian)
php_version: 7.3.11-1~deb10u1 64bit
php_sapi: apache2handler
max_input_variables: 1000
time_limit: 30
memory_limit: 256M
max_input_time: 60
upload_max_size: 512M
php_post_max_size: 513M
curl_version: 7.64.0 OpenSSL/1.1.1d
suhosin: false
imagick_availability: false
htaccess_extra_rules: true
wp-database
extension: mysqli$Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
server_version: 10.3.18-MariaDB-0+deb10u1
client_version: mysqlnd 5.0.12-dev - 20150407 -
wp-constants
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: XXX/wp-content
WP_PLUGIN_DIR: XXX/wp-content/plugins
WP_MAX_MEMORY_LIMIT: 256M
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_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/2.4.38 (Debian)
pods-user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A
pods-session-save-path: /var/lib/php/sessions
pods-session-save-path-exists: No
pods-session-save-path-writable: No
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: 27.768M
pods-memory-current-usage-real: 30.000M
pods-network-wide: No
pods-install-location: XXX/wp-content/plugins/pods/
pods-developer: No
pods-tableless-mode: No
pods-light-mode: No
pods-strict: No
pods-allow-deprecated: Yes
pods-api-cache: Yes
pods-shortcode-allow-evaluate-tags: No
Pods Package Export (helpful!)
Additional context
none
Possible Workaround
When i edit the post afterwards i can add the person into the rest of the roles and get no more errors. So it seems like PODS has some problems when adding the same new taxonomy term into several custom fields.
Beta Was this translation helpful? Give feedback.
All reactions