Can’t edit or write a custom post type
-
Hi! I have different custom post types by Pods on a site. For the type “tagungs-doku” it’s not possible anymore to create or edit posts. The edit links don’t appear at all in menus or the post list. For other types like “veranstaltung” everything works fine.
I run the latest Pods version and already tried several things:
– purged site and browser cache
– purged the Pods cache
– deactivated the Pods Alternative Cache plugin
– did a preview of Pods repair with no error
– used Health Check plugin with only Pods activeThe page I need help with: [log in to see the link]
-
Site health:
` wp-core version: 6.3.2
site_language: de_DE
user_language: de_DE
timezone: Europe/Berlin
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: undefined
environment_type: production
user_count: 4
dotorg_communication: true wp-paths-sizes wordpress_path: /kunden/573362_32758/webseiten/wordpress
wordpress_size: 3,17 GB (3406276681 bytes)
uploads_path: /kunden/573362_32758/webseiten/wordpress/wp-content/uploads
uploads_size: 658,78 MB (690783609 bytes)
themes_path: /kunden/573362_32758/webseiten/wordpress/wp-content/themes
themes_size: 9,11 MB (9553679 bytes)
plugins_path: /kunden/573362_32758/webseiten/wordpress/wp-content/plugins
plugins_size: 138,35 MB (145068542 bytes)
database_size: 107,69 MB (112918004 bytes)
total_size: 4,06 GB (4364600515 bytes) wp-active-theme name: Page Builder Framework (page-builder-framework)
version: 2.10.3
author: David Vongries
author_website: https://mapsteps.com
parent_theme: none
theme_features: core-block-patterns, block-templates, widgets-block-editor, custom-logo, custom-background, title-tag, post-thumbnails, automatic-feed-links, html5, customize-selective-refresh-widgets, menus, editor-styles, align-wide, header-footer-elementor, widgets
theme_path: /kunden/573362_32758/webseiten/wordpress/wp-content/themes/page-builder-framework
auto_update: Aktiviert wp-themes-inactive (1) Twenty Twenty-Three: version: 1.2, author: Das WordPress-Team, Automatische Aktualisierungen aktiviert wp-mu-plugins (1) Health Check Troubleshooting Mode: author: (undefined), version: 1.9.1 wp-plugins-active (17) Admin and Site Enhancements (ASE): version: 6.0.3, author: Bowo, Automatische Aktualisierungen aktiviert
Advanced Post Queries: version: 1.1.1, author: Shabti Kaplan, Automatische Aktualisierungen deaktiviert
Burst Statistics - Privacy-Friendly Analytics for WordPress: version: 1.5.0.2, author: Really Simple Plugins, Automatische Aktualisierungen aktiviert
Complianz | GDPR/CCPA Cookie Consent: version: 6.5.5, author: Really Simple Plugins, Automatische Aktualisierungen aktiviert
Dynamic Visibility for Elementor: version: 5.0.6, author: Dynamic.ooo, Automatische Aktualisierungen deaktiviert
Elementor: version: 3.16.6, author: Elementor.com, Automatische Aktualisierungen deaktiviert
Elementor Pro: version: 3.16.2, author: Elementor.com, Automatische Aktualisierungen deaktiviert
FileBird Pro: version: 5.5.2, author: Ninja Team, Automatische Aktualisierungen aktiviert
Health Check & Troubleshooting: version: 1.7.0, author: The www.ads-software.com community, Automatische Aktualisierungen deaktiviert
Pods - Custom Content Types and Fields: version: 3.0.8, author: Pods Framework Team, Automatische Aktualisierungen aktiviert
Premium Addons for Elementor: version: 4.10.11, author: Leap13, Automatische Aktualisierungen deaktiviert
Redirection: version: 5.3.10, author: John Godley, Automatische Aktualisierungen deaktiviert
The SEO Framework: version: 4.2.8, author: The SEO Framework Team, Automatische Aktualisierungen aktiviert
UpdraftPlus - Backup/Restore: version: 2.23.10.26, author: UpdraftPlus.Com, DavidAnderson, Automatische Aktualisierungen aktiviert
Wordfence Security: version: 7.10.5, author: Wordfence, Automatische Aktualisierungen aktiviert
wp-Typography: version: 5.9.1, author: Peter Putzer, Automatische Aktualisierungen deaktiviert
WP Fastest Cache: version: 1.2.0, author: Emre Vona, Automatische Aktualisierungen deaktiviert wp-plugins-inactive (1) Pods Alternative Cache: version: 2.1.7, author: Pods Framework Team, Automatische Aktualisierungen deaktiviert wp-media image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1692
imagemagick_version: ImageMagick 6.9.12-97 Q16 x86_64 18022 https://legacy.imagemagick.org
imagick_version: 3.7.0
file_uploads: File uploads is turned off
post_max_size: 75M
upload_max_filesize: 50M
max_effective_size: 50 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 117 GB
imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
imagick::RESOURCETYPE_FILE: 786432
imagick::RESOURCETYPE_MAP: 59 GB
imagick::RESOURCETYPE_MEMORY: 29 GB
imagick::RESOURCETYPE_THREAD: 1
imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, 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, FLV, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, 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, MPEG, 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.3
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 9.27 wp-server server_architecture: Linux 3.10.0-1160.95.1.el7.x86_64 x86_64
httpd_software: Apache
php_version: 8.0.30 64bit
php_sapi: fpm-fcgi
max_input_variables: 1500
time_limit: 120
memory_limit: 256M
max_input_time: 60
upload_max_filesize: 50M
php_post_max_size: 75M
curl_version: 7.61.1 OpenSSL/1.1.1k
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
current: 2023-10-24T09:00:00+00:00
utc-time: Tuesday, 24-Oct-23 09:00:00 UTC
server-time: 2023-10-24T10:59:59+02:00 wp-database extension: mysqli
server_version: 10.4.31-MariaDB
client_version: mysqlnd 8.0.30
max_allowed_packet: 64000000
max_connections: 400 wp-constants WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /kunden/573362_32758/webseiten/wordpress/wp-content
WP_PLUGIN_DIR: /kunden/573362_32758/webseiten/wordpress/wp-content/plugins
WP_MEMORY_LIMIT: 256M
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_ENVIRONMENT_TYPE: Nicht definiert
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined wp-filesystem wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
mu-plugins: writable pods pods-server-software: Apache
pods-user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15
pods-session-save-path: /temp/573362/u573362/vrk-akademie.de
pods-session-save-path-exists: Ja
pods-session-save-path-writable: Ja
pods-session-max-lifetime: 1440
pods-opcode-cache-apc: Nein
pods-opcode-cache-memcached: Nein
pods-opcode-cache-opcache: Ja
pods-opcode-cache-redis: Nein
pods-object-cache-apc: Nein
pods-object-cache-apcu: Ja
pods-object-cache-memcache: Nein
pods-object-cache-memcached: Ja
pods-object-cache-redis: Ja
pods-memory-current-usage: 118,582M / 256M
pods-memory-current-usage-real: 120,250M
pods-network-wide: Nein
pods-install-location: /wp-content/plugins/pods/
pods-developer: Nein
pods-tableless-mode: Nein
pods-relationship-table-enabled: Ja
pods-relationship-table-status: 13
pods-light-mode: Nein
pods-strict: Nein
pods-allow-deprecated: Ja
pods-api-cache: Ja
pods-shortcode-allow-evaluate-tags: Nein
pods-sessions: Deaktiviere Sitzungen
pods-can-use-sessions: Ja
pods-settings-types_only: Nein
pods-settings-watch_changed_fields: Ja
pods-settings-metadata_integration: Ja
pods-settings-metadata_override_get: JaHi @kkonzept
Since you already checked browser cache etc. I’m not sure what more to suggest for debugging at this point.
Could you share your CPT package from Pods so I can import it and try to reproduce it?
Go to Pods Admin > Components > Migrate: Packages, export your affected Pods/Templates, and then paste your package JSON or provide your JSON file.Cheers, Jory
Hi Jory, the JSON:
{
"@meta": {
"version": "3.0.8",
"build": 1698400929
},
"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": "",
"active_components": [
"migrate-packages",
"templates"
]
},
"pods": [
{
"name": "tagungs-datum",
"id": 20088,
"label": "Tagungs-Datum",
"description": "",
"type": "taxonomy",
"storage": "meta",
"label_singular": "Tagungs-Datum",
"public": "1",
"show_ui": "1",
"hierarchical": "0",
"rest_enable": "1",
"_migrated_28": "1",
"show_admin_column": "1",
"show_in_quick_edit": "1",
"built_in_post_types_tagungs-doku": "1",
"built_in_post_types_veranstaltung": "0",
"built_in_post_types_dokumentation": "0",
"groups": [
{
"name": "weitere_felder",
"id": 20089,
"label": "Weitere Felder",
"description": "",
"weight": 0,
"fields": []
}
]
},
{
"name": "tagungs-doku",
"id": 20077,
"label": "Tagungs-Dokus",
"description": "",
"type": "post_type",
"storage": "meta",
"label_singular": "Tagungs-Doku",
"public": "1",
"show_ui": "1",
"rest_enable": "1",
"supports_title": "1",
"supports_editor": "1",
"_migrated_28": "1",
"show_in_admin_bar": "1",
"publicly_queryable": "1",
"show_in_menu": "1",
"menu_icon": "dashicons-archive",
"built_in_taxonomies_tagungs-datum": "1",
"built_in_taxonomies_veranstaltungs-datum": "0",
"built_in_taxonomies_veranstaltungs-ort": "0",
"capability_type_extra": "0",
"meta_box_context": "normal",
"meta_box_priority": "default",
"has_archive": "1",
"menu_position": "0",
"show_in_nav_menus": "1",
"label_edit_item": "Doku",
"exclude_from_search": "0",
"capability_type": "post",
"capability_type_custom": "tagungs-doku",
"disable_create_posts": "0",
"hierarchical": "0",
"can_export": "0",
"rewrite": "0",
"rewrite_with_front": "1",
"rewrite_feeds": "0",
"rewrite_pages": "1",
"query_var": "0",
"revisions_to_keep_limit": "0",
"delete_with_user": "1",
"supports_thumbnail": "1",
"supports_excerpt": "1",
"supports_revisions": "1",
"groups": [
{
"name": "weitere_felder",
"id": 20078,
"label": "Weitere Felder",
"description": "",
"weight": 0,
"fields": []
}
]
}
]
}The “Tagungs-Datum” taxonomy can be edited.
Regards
Sascha- This reply was modified 1 year, 1 month ago by k-konzept.
Hi @kkonzept
Sorry for my late reply.
I checked your config and notice the following line:
"capability_type_custom": "tagungs-doku",
This means that you have selected a custom capability for this CPT.
Did you assign this capability to your user?Cheers, Jory
- This reply was modified 1 year ago by Jory Hogeveen.
After posting this reply I thought of a possible bug here and indeed, this is the case: https://github.com/pods-framework/pods/issues/7218
For now, if you manually remove the capability input and it will work again.
1. Select custom capability
2. Remove input value
3. Select Post capability againEdit: Nope, this doesn’t work either… can’t undo this for some reason… Please see GitHub ticket for progress on this bug.
Cheers, Jory
- This reply was modified 1 year ago by Jory Hogeveen.
Thanks for looking into it and sorting the bugs out! Luckily I only had a couple of posts yet, so I tried with a new CPT and copied the content.
Regards
Sascha
- The topic ‘Can’t edit or write a custom post type’ is closed to new replies.