pods icon indicating copy to clipboard operation
pods copied to clipboard

Pods 2.8.8.1 causes WP fatal error

Open GoranRista opened this issue 2 years ago • 11 comments

Description

With Pods 2.8.8.1 installed, when trying to open any WooCommerce order or edit any WooCommerce product, the WP experiences fatal error. It displays a blank screen with the message that it has experienced a fatal error. I did not receive any information in the email from my server, so I don't have any more info.

Version

2.8.8.1

Testing Instructions

  1. Install Pods 2.8.8.1
  2. Try to open an existing WooCommerce order
  3. Ta-da! The WP experiences a fatal error and you can not open an order to view or edit

Another way to do it.

  1. Install Pods 2.8.8.1
  2. Try to open a WooCommerce product for editing (back end)
  3. Not so fast- The WP just experienced a fatal error and all you get is a blank screen telling you about the error

Screenshots / Screencast

No response

Possible Workaround

Install a previous version of Pods

Site Health Information

`
### wp-core ###

version: 5.8.2
site_language: en_US
user_language: en_US
timezone: America/New_York
permalink: /%category%/%postname%/
https_status: true
multisite: false
user_registration: 1
blog_public: 1
default_comment_status: closed
environment_type: production
user_count: 25504
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /var/www/html
wordpress_size: 166.10 MB (174169485 bytes)
uploads_path: /var/www/html/wp-content/uploads
uploads_size: 196.72 MB (206277106 bytes)
themes_path: /var/www/html/wp-content/themes
themes_size: 33.89 MB (35536804 bytes)
plugins_path: /var/www/html/wp-content/plugins
plugins_size: 277.27 MB (290740673 bytes)
database_size: 1.03 GB (1100604608 bytes)
total_size: 1.68 GB (1807328676 bytes)

### wp-active-theme ###

name: BeatBuddy Store 2 (BeatBuddy-v2)
version: 2.4
author: Goran Rista
author_website: https://library.mybeatbuddy.com/
parent_theme: none
theme_features: core-block-patterns, widgets-block-editor, post-thumbnails, automatic-feed-links, post-formats, menus, woocommerce, widgets
theme_path: /var/www/html/wp-content/themes/BeatBuddy-v2
auto_update: Disabled

### wp-plugins-active (48) ###

Adaptive Images for WordPress: version: 0.6.68, author: Nevma, Auto-updates disabled
Admin Menu Editor: version: 1.10, author: Janis Elsts, Auto-updates disabled
All-in-One WP Migration: version: 7.50, author: ServMask, Auto-updates disabled
All-in-One WP Migration Unlimited Extension: version: 2.42, author: ServMask, Auto-updates disabled
All In One WP Security: version: 4.4.9, author: Tips and Tricks HQ, Peter Petreski, Ruhul, Ivy, Auto-updates disabled
Bulk Regenerate Download Permissions for WooCommerce Orders Pro: version: 1.4.2, author: WP Wham, Auto-updates disabled
Composium - WP Bakery Page Builder Extensions Addon: version: 5.6.0, author: Tekanewa Scripts by Kraut Coding, Auto-updates disabled
Custom Ajax By JO - DON'T REMOVE: author: (undefined), version: (undefined), Auto-updates disabled
Custom Field Suite: version: 2.6.1, author: Matt Gibbs, Auto-updates disabled
Custom Permalinks: version: 2.4.0, author: Sami Ahmed Siddiqui, Auto-updates disabled
Easy Updates Manager: version: 9.0.10, author: Easy Updates Manager Team, Auto-updates disabled
Enable Media Replace: version: 3.6.3, author: ShortPixel, Auto-updates disabled
Essential Grid: version: 3.0.13, author: ThemePunch, Auto-updates disabled
Favicon by RealFaviconGenerator: version: 1.3.22, author: Philippe Bernard, Auto-updates disabled
FiboSearch - AJAX Search for WooCommerce: version: 1.14.0, author: FiboSearch Team, Auto-updates disabled
Folder Excluder for AIO WP Migration: version: 3.0, author: Zeeshan Ahmed, Auto-updates disabled
Gutenberg Block for WooCommerce Product Table: version: 1.0.4, author: Barn2 Plugins, Auto-updates disabled
IgniteUp: version: 3.4.1, author: Ceylon Systems, Auto-updates disabled
Multi Image Metabox: version: 1.3.5, author: Willy bahuaud, Auto-updates disabled
OneSignal Push Notifications: version: 2.2.2, author: OneSignal, Auto-updates disabled
PayPal for WooCommerce: version: 1.5.7, author: Angell EYE, Auto-updates disabled
PixelYourSite: version: 8.2.13, author: PixelYourSite, Auto-updates disabled
Pods - Custom Content Types and Fields: version: 2.8.3, author: Pods Framework Team (latest version: 2.8.8.1), Auto-updates disabled
Product Open Pricing (Name Your Price) for WooCommerce: version: 1.7.0, author: WP Wham, Auto-updates disabled
PW Advanced Woo Reporting: version: 4.5, author: Proword, Auto-updates disabled
Redirection: version: 5.1.3, author: John Godley, Auto-updates disabled
Register IPs: version: 1.8.2, author: Mika Epstein, Johnny White, Auto-updates disabled
Safe SVG: version: 1.9.9, author: Daryll Doyle, Auto-updates disabled
Shortcoder: version: 5.6, author: Aakash Chakravarthy, Auto-updates disabled
UpdraftPlus - Backup/Restore: version: 1.16.66, author: UpdraftPlus.Com, DavidAnderson, Auto-updates disabled
WavePlayer: version: 2.4.5, author: Luigi Pulcini, Auto-updates disabled
WooCommerce: version: 5.9.0, author: Automattic, Auto-updates disabled
WooCommerce - Active Campaign Integration: version: 1.7.6, author: Jason Kadlec: ActiveWoo.com, Auto-updates disabled
WooCommerce Customers Manager: version: 24.9, author: Lagudi Domenico, Auto-updates disabled
WooCommerce Dynamic Pricing & Discounts: version: 2.4.3, author: RightPress, Auto-updates disabled
WooCommerce Filter Orders by Product: version: 3.2, author: Md. Kowsar Hossain, Auto-updates disabled
WooCommerce Google Analytics Integration: version: 1.5.4, author: WooCommerce, Auto-updates disabled
WooCommerce PDF Invoices & Packing Slips: version: 2.11.1, author: Ewout Fernhout, Auto-updates disabled
WooCommerce Product Table: version: 2.8.5, author: Barn2 Plugins (latest version: 2.9.1), Auto-updates disabled
Woo Custom Downloads: version: 4.4.2, author: GoranGrooves, Auto-updates disabled
WPBakery Page Builder: version: 6.7.0, author: Michael M - WPBakery.com, Auto-updates disabled
WP Crontrol: version: 1.12.0, author: John Blackbourn & crontributors, Auto-updates disabled
WP Edit: version: 4.0.4, author: Josh Lobe, Auto-updates disabled
WP Fastest Cache: version: 0.9.5, author: Emre Vona, Auto-updates disabled
WP Fastest Cache Premium: version: 1.6.2, author: Emre Vona, Auto-updates disabled
WP File Manager: version: 7.1.2, author: mndpsingh287, Auto-updates disabled
WPFront Scroll Top: version: 2.0.7.08086, author: Syam Mohan, Auto-updates disabled
Yoast Duplicate Post: version: 4.2, author: Enrico Battocchi & Team Yoast, Auto-updates disabled

### wp-plugins-inactive (1) ###

WP Downgrade | Specific Core Version: version: 1.2.2, author: Reisetiger, 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: 8M
upload_max_filesize: 2M
max_effective_size: 2 MB
max_file_uploads: 20
gd_version: 2.2.5
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: not available

### wp-server ###

server_architecture: Linux 5.4.0-65-generic x86_64
httpd_software: Apache/2.4.41 (Ubuntu)
php_version: 7.4.3 64bit
php_sapi: fpm-fcgi
max_input_variables: 1000
time_limit: 30
memory_limit: 256M
max_input_time: 60
upload_max_filesize: 2M
php_post_max_size: 8M
curl_version: 7.68.0 OpenSSL/1.1.1f
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: true

### wp-database ###

extension: mysqli
server_version: 8.0.27-0ubuntu0.20.04.1
client_version: mysqlnd 7.4.3

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /var/www/html/wp-content
WP_PLUGIN_DIR: /var/www/html/wp-content/plugins
WP_MEMORY_LIMIT: 40M
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: utf8
DB_COLLATE: undefined

### wp-filesystem ###

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

### pods ###

pods-server-software: Apache/2.4.41 (Ubuntu)
pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
pods-session-save-path: /var/lib/php/sessions
pods-session-save-path-exists: Yes
pods-session-save-path-writable: Yes
pods-session-max-lifetime: 1440
pods-opcode-cache-apc: Yes
pods-opcode-cache-memcached: No
pods-opcode-cache-opcache: Yes
pods-opcode-cache-redis: No
pods-object-cache-apc: Yes
pods-object-cache-apcu: Yes
pods-object-cache-memcache: No
pods-object-cache-memcached: No
pods-object-cache-redis: No
pods-memory-current-usage: 24.803M
pods-memory-current-usage-real: 4.000M
pods-network-wide: No
pods-install-location: /var/www/html/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: Disable sessions
pods-can-use-sessions: Yes

`

Pods Package

{
    "meta": {
        "version": "2.8.3",
        "build": 1638996236
    },
    "pods": [
        {
            "name": "genre2",
            "id": 44769,
            "label": "Beat Genres",
            "description": "Select Genre of music for Beat packages only",
            "show_in_menu": "1",
            "label_singular": "Beat Genre",
            "public": "1",
            "show_ui": "1",
            "hierarchical": "1",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_hierarchical": "1",
            "capability_type": "default",
            "capability_type_custom": "genre",
            "query_var": "0",
            "sort": "0",
            "built_in_post_types_acf-field": "0",
            "built_in_post_types_acf-field-group": "0",
            "built_in_post_types_activewoo_coupon": "0",
            "built_in_post_types_cfs": "0",
            "built_in_post_types_custom_css": "0",
            "built_in_post_types_customize_changeset": "0",
            "built_in_post_types_oembed_cache": "0",
            "built_in_post_types_page": "0",
            "built_in_post_types_paypal_transaction": "0",
            "built_in_post_types_post": "0",
            "built_in_post_types_product": "1",
            "built_in_post_types_product_variation": "0",
            "built_in_post_types_pys_event": "0",
            "built_in_post_types_shop_coupon": "0",
            "built_in_post_types_shop_order": "0",
            "built_in_post_types_shop_order_refund": "0",
            "built_in_post_types_user_request": "0",
            "built_in_post_types_vc4_templates": "0",
            "built_in_post_types_vc_grid_item": "0",
            "built_in_post_types_wp_block": "0",
            "built_in_post_types_attachment": "0",
            "menu_name": "Beat Genres",
            "menu_location": "default",
            "menu_position": "0",
            "show_in_nav_menus": "1",
            "show_tagcloud": "1",
            "show_tagcloud_in_edit": "1",
            "show_in_quick_edit": "1",
            "show_admin_column": "1",
            "pfat_enable": "0",
            "pfat_run_outside_loop": "0",
            "pfat_append_archive": "append",
            "rest_enable": "0",
            "read_all": "0",
            "write_all": "0",
            "type": "taxonomy",
            "storage": "meta",
            "menu_location_custom": "Products",
            "groups": [
                {
                    "name": "more_fields",
                    "label": "More Fields",
                    "fields": []
                }
            ]
        },
        {
            "name": "genre",
            "id": 43974,
            "label": "Genres",
            "description": "Select Genre of music for Single Songs",
            "label_singular": "Genre",
            "public": "1",
            "show_ui": "1",
            "hierarchical": "1",
            "type": "taxonomy",
            "storage": "meta",
            "rewrite": "1",
            "rewrite_with_front": "1",
            "rewrite_hierarchical": "1",
            "capability_type": "default",
            "capability_type_custom": "genre",
            "query_var": "0",
            "sort": "0",
            "built_in_post_types_acf-field": "0",
            "built_in_post_types_acf-field-group": "0",
            "built_in_post_types_activewoo_coupon": "0",
            "built_in_post_types_cfs": "0",
            "built_in_post_types_custom_css": "0",
            "built_in_post_types_customize_changeset": "0",
            "built_in_post_types_oembed_cache": "0",
            "built_in_post_types_page": "0",
            "built_in_post_types_paypal_transaction": "0",
            "built_in_post_types_post": "0",
            "built_in_post_types_product": "1",
            "built_in_post_types_product_variation": "0",
            "built_in_post_types_pys_event": "0",
            "built_in_post_types_shop_coupon": "0",
            "built_in_post_types_shop_order": "0",
            "built_in_post_types_shop_order_refund": "0",
            "built_in_post_types_user_request": "0",
            "built_in_post_types_vc4_templates": "0",
            "built_in_post_types_vc_grid_item": "0",
            "built_in_post_types_wp_block": "0",
            "built_in_post_types_attachment": "0",
            "show_in_menu": "1",
            "menu_name": "Genres for Single Songs",
            "menu_location": "default",
            "menu_position": "0",
            "show_in_nav_menus": "1",
            "show_tagcloud": "1",
            "show_tagcloud_in_edit": "1",
            "show_in_quick_edit": "1",
            "show_admin_column": "1",
            "pfat_enable": "0",
            "pfat_run_outside_loop": "0",
            "pfat_append_archive": "append",
            "rest_enable": "0",
            "read_all": "0",
            "write_all": "0",
            "groups": [
                {
                    "name": "more_fields",
                    "label": "More Fields",
                    "fields": []
                }
            ]
        }
    ]
}

GoranRista avatar Dec 08 '21 20:12 GoranRista

Do you have any details about the error itself or can you enable WP_DEBUG in your wp-config.php to try and uncover the error?

I'm going to test this and see what I find out now from my side as well.

sc0ttkclark avatar Dec 08 '21 21:12 sc0ttkclark

I cannot reproduce this right now and I've even extended the WooCommerce Products post type just to be sure I'm not missing anything.

sc0ttkclark avatar Dec 08 '21 22:12 sc0ttkclark

I already reverted back to the previous version of Pods since this was crippling my operation and this is a live site. I will try to update again and turn on the debugging to see if I can get more info.

GoranRista avatar Dec 09 '21 00:12 GoranRista

Same here, had to roll back to 2.8.8:

Bug details

An error of type E_PARSE was caused in line 1231 of the file /var/www/***.com/htdocs/wp-content/plugins/pods/classes/PodsInit.php. Error message: syntax error, unexpected end of file

Luxamman avatar Dec 23 '21 12:12 Luxamman

@Luxamman Your issue sounds like an incomplete installation. At least the PodsInit.php file is incomplete. Please re-install, could be that you need to remove it first to make sure file capabilities are correct.

JoryHogeveen avatar Dec 24 '21 08:12 JoryHogeveen

I accidentally updated Pods to the latest version (with this bug) on another website and sure enough, the website experienced the problem. This is the information that was generated by WP and emailed to me:

WordPress version 5.8.2 Current theme: GoranGrooves Library (version 1.0.0) Current plugin: Pods - Custom Content Types and Fields (version 2.8.8.1) PHP version 7.4.27

Error Details

An error of type E_ERROR was caused in line 2033 of the file /var/www/vhosts/booinstruments.us/httpdocs/library/wp-content/plugins/pods/includes/general.php. Error message: Maximum execution time of 60 seconds exceeded

GoranRista avatar Dec 28 '21 20:12 GoranRista

Hi @GoranRista That looks like it might be a loop, could be a plugin conflict:

https://docs.pods.io/faqs/plugin-theme-conflicts/

JoryHogeveen avatar Jan 06 '22 14:01 JoryHogeveen

Let's retest this when Pods 2.8.9 is released, there were some tweaks that could have addressed this problem.

sc0ttkclark avatar Jan 27 '22 06:01 sc0ttkclark

Sure. Let's do that, Scott.

GoranRista avatar Jan 27 '22 14:01 GoranRista

Sad to report that the issue is still present in the latest update of Pods 2.8.9. I had to roll back to 2.8.7. I really hope that this gets fixed, as I am unable to move to any new version.

GoranRista avatar Jan 31 '22 21:01 GoranRista

Hi @GoranRista Can you reproduce this issue on a clean installation? Did you check for plugin conflicts? https://docs.pods.io/faqs/plugin-theme-conflicts/

JoryHogeveen avatar Feb 03 '22 13:02 JoryHogeveen