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

Critical Error when I try to bulk edit multiple posts of a custom post type made in PODs. #7135

Open ScarletSeven opened 1 year ago

ScarletSeven commented 1 year ago

Description

Critical Error when I try to bulk edit multiple posts of a custom post type made in PODs.

Version

2.9.19

Testing Instructions

Go to custom post type Select multiple posts and bulk edit Choose a new category and hit update.

Screenshots / Screencast

2023-08-24_23-30-35

Possible Workaround

Individual editing works.

Site Health Information

`
### wp-core ###

version: 6.3
site_language: en_GB
user_language: en_GB
timezone: +08:00
permalink: /%category%/%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 0
default_comment_status: open
environment_type: production
user_count: 11
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging
wordpress_size: 5.62 GB (6039112387 bytes)
uploads_path: /home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/uploads
uploads_size: 4.47 GB (4796693461 bytes)
themes_path: /home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/themes
themes_size: 30.52 MB (32002993 bytes)
plugins_path: /home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/plugins
plugins_size: 169.07 MB (177278216 bytes)
database_size: 223.03 MB (233865216 bytes)
total_size: 10.50 GB (11278952273 bytes)

### wp-active-theme ###

name: WesleyMC (wesleymc-child)
version: 1.0.0
author: Jonathan Ang
author_website: https://www.adscelerate.com
parent_theme: Astra (astra)
theme_features: core-block-patterns, astra_hooks, widgets-block-editor, align-wide, automatic-feed-links, title-tag, post-thumbnails, starter-content, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, woocommerce, rank-math-breadcrumbs, amp, editor-color-palette, widgets, menus
theme_path: /home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/themes/wesleymc-child
auto_update: Disabled

### wp-parent-theme ###

name: Astra (astra)
version: 4.2.2
author: Brainstorm Force
author_website: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
theme_path: /home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/themes/astra
auto_update: Disabled

### wp-themes-inactive (5) ###

Twenty Nineteen: version: 2.1, author: WordPress Team (latest version: 2.5), Auto-updates disabled
Twenty Twenty: version: 1.8, author: the WordPress team (latest version: 2.2), Auto-updates disabled
Twenty Twenty-One: version: 1.4, author: the WordPress team (latest version: 1.8), Auto-updates disabled
Twenty Twenty-Three: version: 1.0, author: the WordPress team (latest version: 1.2), Auto-updates disabled
Twenty Twenty-Two: version: 1.0, author: the WordPress team (latest version: 1.4), Auto-updates disabled

### wp-mu-plugins (1) ###

ManageWP - Worker Loader: version: 1.0.0, author: GoDaddy

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

Advanced Editor Tools: version: 5.9.2, author: Automattic, Auto-updates disabled
All-in-One WP Migration: version: 7.78, author: ServMask, Auto-updates disabled
Astra Pro: version: 4.1.5, author: Brainstorm Force (latest version: 4.1.7), Auto-updates disabled
Better Search Replace: version: 1.4.2, author: WP Engine, Auto-updates disabled
Duplicate Page: version: 4.5.2, author: mndpsingh287, Auto-updates disabled
Elementor: version: 3.15.3, author: Elementor.com, Auto-updates disabled
Elementor Pro: version: 3.14.1, author: Elementor.com (latest version: 3.15.1), Auto-updates disabled
MalCare WordPress Security Plugin - Malware Scanner, Cleaner, Security Firewall: version: 5.22, author: MalCare, Auto-updates disabled
ManageWP - Worker: version: 4.9.17, author: GoDaddy, Auto-updates disabled
Members: version: 3.2.7, author: MemberPress, Auto-updates disabled
Pods - Custom Content Types and Fields: version: 2.9.19, author: Pods Framework Team, Auto-updates disabled
PublishPress Authors: version: 4.2.0, author: PublishPress, Auto-updates disabled
Regenerate Thumbnails: version: 3.1.6, author: Alex Mills (Viper007Bond), Auto-updates disabled
SEOPress: version: 6.9, author: The SEO Guys at SEOPress, Auto-updates disabled
SEOPress PRO: version: 6.7.2, author: The SEO Guys at SEOPress (latest version: 6.9), Auto-updates disabled
SVG Support: version: 2.5.5, author: Benbodhi, Auto-updates disabled
Ultimate Addons for Elementor: version: 1.36.17, author: Brainstorm Force (latest version: 1.36.19), Auto-updates disabled
WordPress Hide Posts: version: 1.1.1, author: MartinCV, Auto-updates disabled
wpDiscuz: version: 7.6.3, author: gVectors Team, Auto-updates disabled
WPForce Logout: version: 1.5.0, author: Sanjeev Aryal, Auto-updates disabled
WPForms Lite: version: 1.8.3.1, author: WPForms, Auto-updates disabled
WP User Avatars: version: 1.4.1, author: Triple J Software, Inc., Auto-updates disabled

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

Akismet Anti-Spam: Spam Protection: version: 5.2, author: Automattic - Anti Spam Team, Auto-updates disabled
Hello Dolly: version: 1.7.2, author: Matt Mullenweg, Auto-updates disabled
WP Super Cache: version: 1.10.0, author: Automattic, 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: 999M
upload_max_filesize: 999M
max_effective_size: 999 MB
max_file_uploads: 20
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: unknown

### wp-server ###

server_architecture: Linux 4.15.0-206-generic x86_64
httpd_software: Apache/2.4.57 (Unix) OpenSSL/1.1.1
php_version: 8.0.29 64bit
php_sapi: fpm-fcgi
max_input_variables: 1000
time_limit: 300
memory_limit: 512M
max_input_time: 60
upload_max_filesize: 999M
php_post_max_size: 999M
curl_version: 7.58.0 OpenSSL/1.1.1
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: false
current: 2023-08-24T15:33:10+00:00
utc-time: Thursday, 24-Aug-23 15:33:10 UTC
server-time: 2023-08-24T23:33:07+08:00

### wp-database ###

extension: mysqli
server_version: 10.2.44-MariaDB-1:10.2.44+maria~bionic-log
client_version: mysqlnd 8.0.29
max_allowed_packet: 16777216
max_connections: 29538

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content
WP_PLUGIN_DIR: /home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 512M
WP_DEBUG: true
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: true
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Undefined
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined

### wp-filesystem ###

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

### publishpress-modules (10) ###

modules_settings: on [/home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/plugins/publishpress-authors/src/modules//modules/modules_settings]
author_boxes: on [/home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/plugins/publishpress-authors/src/modules//modules/author_boxes]
author_custom_fields: on [/home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/plugins/publishpress-authors/src/modules//modules/author_custom_fields]
settings: on [/home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/plugins/publishpress-authors/src/modules//modules/settings]
multiple_authors: on [/home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/plugins/publishpress-authors/src/modules//modules/multiple_authors]
default_layouts: on [/home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/plugins/publishpress-authors/src/modules//modules/default_layouts]
rest_api: on [/home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/plugins/publishpress-authors/src/modules//modules/rest_api]
polylang_integration: on [/home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/plugins/publishpress-authors/src/modules//modules/polylang_integration]
reviews: on [/home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/plugins/publishpress-authors/src/modules//modules/reviews]
elementor_integration: on [/home/runcloud/webapps/wesley_tidings-Aq7b1jZG-staging/wp-content/plugins/publishpress-authors/src/modules//modules/elementor_integration]

### pods ###

pods-server-software: Apache/2.4.57 (Unix) OpenSSL/1.1.1
pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.54
pods-session-save-path: undefined
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: Yes
pods-object-cache-memcached: Yes
pods-object-cache-redis: Yes
pods-memory-current-usage: 97.134M / 40M
pods-memory-current-usage-real: 100.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: 0
pods-light-mode: No
pods-strict: No
pods-allow-deprecated: Yes
pods-api-cache: Yes
pods-shortcode-allow-evaluate-tags: No
pods-sessions: Disable sessions
pods-can-use-sessions: No
pods-settings-types_only: No
pods-settings-watch_changed_fields: Yes
pods-settings-metadata_integration: Yes
pods-settings-metadata_override_get: Yes

### wpforms ###

version: 1.8.3.1
lite: Dec 12, 2021 @ 6:42pm
upload_dir: Writable
total_forms: 2
total_submissions: undefined

`

Pods Package

{
    "@meta": {
        "version": "2.9.19",
        "build": 1692891363
    },
    "settings": {
        "types_only": "0",
        "watch_changed_fields": "1",
        "metadata_integration": "1",
        "metadata_override_get": "1",
        "media_modal_fields": "1",
        "session_auto_start": "0",
        "wisdom_opt_out": "1"
    },
    "pods": [
        {
            "name": "bible_reading_drive",
            "id": 2232,
            "label": "Bible Reading Drive",
            "description": "",
            "type": "post_type",
            "storage": "meta",
            "label_singular": "Bible Reading Drive",
            "public": "1",
            "show_ui": "1",
            "rest_enable": "1",
            "supports_title": "1",
            "supports_editor": "1",
            "_migrated_28": "1",
            "required": "0",
            "built_in_taxonomies_category": "1",
            "archive_show_in_taxonomies_category": "1",
            "show_in_menu": "1",
            "menu_position": "0",
            "show_in_nav_menus": "1",
            "show_in_admin_bar": "1",
            "supports_thumbnail": "1",
            "supports_author": "1",
            "supports_excerpt": "1",
            "supports_trackbacks": "1",
            "supports_revisions": "1",
            "supports_page_attributes": "1",
            "supports_post_formats": "1",
            "supports_comments": "1",
            "has_archive": "1",
            "groups": [
                {
                    "name": "more_fields",
                    "id": 2233,
                    "label": "More Fields",
                    "description": "",
                    "weight": 0,
                    "fields": [
                        {
                            "name": "brd_year",
                            "id": 2234,
                            "label": "Year",
                            "description": "Input BRD XXXX Daily Reflection",
                            "weight": 0,
                            "type": "text",
                            "sister_id": "-- Select One --",
                            "post_status": "publish",
                            "required": "1",
                            "text_allowed_html_tags": "strong em a ul ol li b i",
                            "text_max_length": "255",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        },
                        {
                            "name": "date_of_brd",
                            "id": 2235,
                            "label": "Date",
                            "description": "Input BRD Date",
                            "weight": 1,
                            "type": "date",
                            "sister_id": "-- Select One --",
                            "post_status": "publish",
                            "required": "1",
                            "date_type": "custom",
                            "date_format": "fjy",
                            "date_allow_empty": "1",
                            "date_html5": "0",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1",
                            "date_format_custom": "l, jS F Y"
                        },
                        {
                            "name": "readings",
                            "id": 2247,
                            "label": "Readings",
                            "description": "Input readings like this: Isaiah 65:17-25 and Psalm 148, link readings to Bible Gateway if desired.",
                            "weight": 2,
                            "type": "wysiwyg",
                            "sister_id": "-- Select One --",
                            "post_status": "publish",
                            "required": "1",
                            "wysiwyg_editor": "tinymce",
                            "roles_allowed": "administrator",
                            "rest_pick_response": "array",
                            "rest_pick_depth": "1"
                        }
                    ]
                }
            ]
        }
    ]
}