Skip to content

Fatal error due to undefined constant Pods\Whatsit\Store::PLACEHOLDER in Pods 3.3.2 #7445

@Hue-SPetrovic

Description

@Hue-SPetrovic

Description

After updating Pods to version 3.3.2, a fatal error occurs due to a reference to an undefined constant Pods\Whatsit\Store::PLACEHOLDER.

The site crashes with this error upon plugin activation or loading the admin.

Version

3.3.2

Testing Instructions

  1. Update Pods plugin to version 3.3.2
  2. Load any admin page (or refresh the frontend)
  3. Observe the fatal error related to PodsInit.php on line 1999

Screenshots / Screencast

PHP Fatal error: Uncaught Error: Undefined constant Pods\Whatsit\Store::PLACEHOLDER
in /wp-content/plugins/pods/classes/PodsInit.php:1999
Stack trace:
#0 /wp-content/plugins/pods/components/Templates/Templates.php(129): PodsInit::object_label_fix(Array, 'post_type')
#1 /wp-content/plugins/pods/components/Templates/Templates.php(79): Pods_Templates->register_config()
...

Possible Workaround

Rolling back to version 3.3.1 fixes the issue.
Temporarily replacing the undefined constant with a string in PodsInit.php line 1999 (e.g. 'Placeholder') prevents the crash.

Site Health Information

`
### wp-core ###

version: 6.8.1
site_language: en_US
user_language: en_US
timezone: America/New_York
permalink: /monitor/%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 0
default_comment_status: open
environment_type: production
user_count: 41
dotorg_communication: true
wpengine_api: true
wpengine_api_direct: false

### wp-paths-sizes ###

wordpress_path: /nas/content/live/devbettercloud
wordpress_size: 944.18 MB (990043997 bytes)
uploads_path: /nas/content/live/devbettercloud/wp-content/uploads
uploads_size: 9.39 GB (10080787248 bytes)
themes_path: /nas/content/live/devbettercloud/wp-content/themes
themes_size: 40.44 MB (42404206 bytes)
plugins_path: /nas/content/live/devbettercloud/wp-content/plugins
plugins_size: 242.41 MB (254189154 bytes)
fonts_path: /nas/content/live/devbettercloud/wp-content/uploads/fonts
fonts_size: directory not found
database_size: 1.01 GB (1088929792 bytes)
total_size: 11.60 GB (12456354397 bytes)

### wp-dropins (2) ###

advanced-cache.php: true
object-cache.php: true

### wp-active-theme ###

name: HUEMOR Builder Theme (beaverwarrior)
version: 1.0
author: HUEMOR Designs
author_website: http://huemor.rocks
parent_theme: Beaver Builder Theme (bb-theme)
theme_features: core-block-patterns, editor-style, menus, widgets-block-editor, fl-theme-builder-headers, fl-theme-builder-footers, fl-theme-builder-parts, custom-logo, post-thumbnails, automatic-feed-links, title-tag, woocommerce, align-wide, wp-block-styles, html5, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, editor-color-palette, widgets
theme_path: /nas/content/live/devbettercloud/wp-content/themes/beaverwarrior

### wp-parent-theme ###

name: Beaver Builder Theme (bb-theme)
version: 1.7.16
author: The Beaver Builder Team
author_website: http://www.wpbeaverbuilder.com/?utm_medium=bb-pro&utm_source=bb-theme&utm_campaign=themes-admin-page
theme_path: /nas/content/live/devbettercloud/wp-content/themes/bb-theme

### wp-themes-inactive (3) ###

Twenty Twenty-Five: version: 1.0, author: the WordPress team
Twenty Twenty-Four: version: 1.2, author: the WordPress team
Twenty Twenty-Three: version: 1.4, author: the WordPress team

### wp-mu-plugins (8) ###

Force Strong Passwords - WPE Edition: version: 1.8.0, author: Jason Cosper
Pantheon: version: 0.1, author: Pantheon
WPE ElasticPress Autosuggest Logger: version: 1.0.0, author: WP Engine
WP Engine Cache Plugin: version: 1.3.3, author: WP Engine
WP Engine Seamless Login Plugin: version: 1.6.1, author: WP Engine
WP Engine Security Auditor: version: 1.1.1, author: wpengine
WP Engine System: version: 6.5.1, author: WP Engine
WP Engine Update Source Selector: version: 1.1.4, author: WP Engine

### wp-plugins-active (53) ###

Advanced Custom Fields PRO: version: 6.4.2, author: WP Engine
Akismet Anti-spam: Spam Protection: version: 5.3.7, author: Automattic - Anti-spam Team
AltText.ai: version: 1.10.3, author: AltText.ai
Auto Image Attributes From Filename With Bulk Updater: version: 4.4, author: Arun Basil Lal
Beaver Builder Plugin (Agency Version): version: 2.9.1.1, author: The Beaver Builder Team
Beaver Themer: version: 1.5.0.4, author: The Beaver Builder Team
Better Search Replace: version: 1.4.10, author: WP Engine
Bing Webmaster Url Submission: version: 1.0.13, author: Bing Webmaster
Co-Authors Plus: version: 3.6.6, author: Mohammad Jangda, Daniel Bachhuber, Automattic
Disable All WordPress Updates: version: 1.8.0, author: Oliver Schlöbe
Disable Comments: version: 2.5.2, author: WPDeveloper
Disable REST API: version: 1.8, author: Dave McHale
Disable XML-RPC: version: 1.0.1, author: Philip Erb
Easy Table of Contents: version: 2.0.75, author: Magazine3
Emergency password reset: version: 9.0, author: andymoyle
Enable Media Replace: version: 4.1.6, author: ShortPixel
Font Awesome: version: 5.0.2, author: Font Awesome
Imagify: version: 2.2.6, author: Imagify Image Optimizer – Optimize Images & Convert WebP & Avif
Menu Image: version: 3.12, author: Freshlight Lab
Perfmatters: version: 2.3.9, author: forgemedia
Pods - Custom Content Types and Fields: version: 3.3.1, author: Pods Framework Team
Popup Maker: version: 1.20.5, author: Popup Maker
Popup Maker - Advanced Targeting Conditions: version: 1.4.6, author: WP Popup Maker
Popup Maker - Advanced Theme Builder: version: 1.2.0, author: Popup Maker
Popup Maker - Exit Intent Popups: version: 1.4.0, author: WP Popup Maker
Popup Maker - Forced Interaction: version: 1.0.2, author: WP Popup Maker
Popup Maker - Leaving Notices: version: 1.1.2, author: WP Popup Maker
Popup Maker - Popup Analytics: version: 1.2.0, author: WP Popup Maker
Popup Maker - Scheduling: version: 1.2.0, author: Popup Maker
Popup Maker - Scroll Triggered Popups: version: 1.3.2, author: WP Popup Maker
Popup Maker - Terms & Conditions Popups: version: 1.1.2, author: WP Popup Maker
Popup Maker - Videos: version: 1.1.4, author: WP Popup Maker
Post SMTP: version: 3.3.0, author: Post SMTP
Reading Time WP: version: 2.0.17, author: Jason Yingling
Redirection: version: 5.5.2, author: John Godley
Schema Pro: version: 2.7.17, author: Brainstorm Force
Search Exclude: version: 2.5.2, author: QuadLayers
SearchWP: version: 4.3.16, author: SearchWP
Simple History: version: 5.12.0, author: Pär Thernström
Smart Archive Page Remove: version: 5.1.3, author: Peter Raschendorfer
Space Station Extras: version: 0.0.0, author: HUEMOR
TablePress: version: 3.1.3, author: Tobias Bäthge
Wicked Folders: version: 3.1.3, author: Wicked Plugins
WordPress Importer: version: 0.8.4, author: wordpressdotorg
WP Client Reports: version: 1.0.23, author: SwitchWP
WP Client Reports Pro: version: 1.0.16, author: SwitchWP
WP Menu Icons: version: 3.3.2, author: QuadLayers
WP Rocket: version: 3.19.0.1, author: WP Media
WPS Hide Login: version: 1.9.17.1, author: WPServeur, NicolasKulka, wpformation
Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast
Yoast SEO: version: 25.3, author: Team Yoast
Yoast SEO Premium: version: 22.7, author: Team Yoast
Yoast Test Helper: version: 1.18, author: Team Yoast

### wp-plugins-inactive (5) ###

Popup Maker - AJAX Login Modals: version: 1.2.2, author: WP Popup Maker
Popup Maker - Geotargeting: version: 1.0.0, author: Popup Maker
Popup Maker - Remote Content: version: 1.2.0, author: WP Popup Maker
Unbounce Landing Pages: version: 1.1.3, author: Unbounce
Wordfence Security: version: 8.0.5, author: Wordfence

### wp-media ###

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1691
imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
imagick_version: 3.7.0
file_uploads: 1
post_max_size: 100M
upload_max_filesize: 50M
max_effective_size: 50 MB
max_file_uploads: 20
imagick_limits: 
	imagick::RESOURCETYPE_AREA: 137 MB
	imagick::RESOURCETYPE_DISK: 1073741824
	imagick::RESOURCETYPE_FILE: 786432
	imagick::RESOURCETYPE_MAP: 512 MB
	imagick::RESOURCETYPE_MEMORY: 256 MB
	imagick::RESOURCETYPE_THREAD: 1
	imagick::RESOURCETYPE_TIME: 9.22337203685E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: 2.3.0
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: not available

### wp-server ###

server_architecture: Linux 5.15.0-1069-gke x86_64
httpd_software: nginx
php_version: 8.2.28 64bit
php_sapi: fpm-fcgi
max_input_variables: 10000
time_limit: 43300
memory_limit: 512M
max_input_time: -1
upload_max_filesize: 50M
php_post_max_size: 100M
curl_version: 7.81.0 OpenSSL/3.0.2
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
static_robotstxt_file: true
current: 2025-07-14T11:21:55+00:00
utc-time: Monday, 14-Jul-25 11:21:55 UTC
server-time: 2025-07-14T07:21:42-04:00

### wp-database ###

extension: mysqli
server_version: 8.0.41-32
client_version: mysqlnd 8.2.28
max_allowed_packet: 16777216
max_connections: 500

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /nas/content/live/devbettercloud/wp-content
WP_PLUGIN_DIR: /nas/content/live/devbettercloud/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: true
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: undefined
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: utf8_unicode_ci

### wp-filesystem ###

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
fonts: does not exist
mu-plugins: writable

### acf ###

version: 6.4.2
plugin_type: PRO
update_source: ACF Direct
activated: true
activated_url: https://devbettercloud.wpenginepowered.com
license_type: Developer
license_status: active
subscription_expires: undefined
ui_field_groups: 5
php_field_groups: 0
json_field_groups: 12
rest_field_groups: 0
post_types_enabled: true
ui_post_types: 27
json_post_types: 0
ui_taxonomies: 18
json_taxonomies: 0
ui_options_pages_enabled: true
ui_options_pages: 0
json_options_pages: 0
php_options_pages: 1
rest_api_format: light
registered_acf_blocks: 0
blocks_per_api_version: 
blocks_per_acf_block_version: 
blocks_using_post_meta: 0
preload_blocks: true
admin_ui_enabled: true
field_type-modal_enabled: true
field_settings_tabs_enabled: false
shortcode_enabled: true
registered_acf_forms: 0
json_save_paths: 1
json_load_paths: 6

### pods ###

pods-version: 3.3.1
pods-first-version: 2.8.10
pods-last-version: 3.2.8.2
pods-server-software: nginx
pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 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: 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: Yes
pods-object-cache-redis: Yes
pods-memory-current-usage: 53.052M / 40M
pods-memory-current-usage-real: 56.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-can-use-sessions: Yes
pods-settings-types_only: Enable [types_only=0]
pods-settings-watch_changed_fields: Enable [watch_changed_fields=1]
pods-settings-metadata_integration: Enable [metadata_integration=1]
pods-settings-metadata_override_get: Enable [metadata_override_get=1]
pods-settings-register_meta_integration: Disable [register_meta_integration=0]
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 and 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

`

Pods Package

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions