Cannot create new posts with Cornerstone, ACF, E&P Form Builder enabled

Hi everyone,

I’ve stumbled upon the following Problem:
I cannot create new Posts of either post type with this three plugins enabled: Cornerstone, ACF, E&P Form Builder enabled. At first I thought it had something to do with Gutenberg, since the page stayed entirely blank. After some debugging with the Classic Editor, it showed that post-new.php somehow ends up editing an existing post of ACFs post-type “acf-field-group”.

What I have tried so far:

  • Disabling all plugins got me to realize it’s those three in conjunction which trigger the problem
  • Problem persists regardless of active theme
  • Disabling any of the three mentioned plugins fixes the bug
  • If there are no posts of post_type “acf-field-group”, the bug does not occur.

Now, I realize you do not debug third party tools, but those three come with the theme extensions and somehow seem to cause the problem with cornerstone.

I hope this isn’t the case, but if that is beyond the scope of support, is there a way to disable cornerstone support for certain post types by means of code? I remember this being possible in earlier versions, but it seems the option has been removed in the interface. Maybe that would help work around the problem.

Please find the site health summary below.

Summary

`

wp-core

version: 5.4
site_language: de_DE_formal
user_language: de_DE_formal
timezone: Europe/Berlin
permalink: /%postname%/
https_status: false
user_registration: 0
default_comment_status: closed
multisite: false
user_count: 7
dotorg_communication: true

wp-paths-sizes

wordpress_path: /var/www/html
wordpress_size: loading…
uploads_path: /var/www/html/wp-content/uploads
uploads_size: loading…
themes_path: /var/www/html/wp-content/themes
themes_size: loading…
plugins_path: /var/www/html/wp-content/plugins
plugins_size: loading…
database_size: loading…
total_size: loading…

wp-active-theme

name: Twenty Twenty (twentytwenty)
version: 1.2
author: WordPress-Team
author_website: https://de.wordpress.org/
parent_theme: none
theme_features: automatic-feed-links, custom-background, post-thumbnails, custom-logo, title-tag, html5, align-wide, responsive-embeds, customize-selective-refresh-widgets, editor-color-palette, editor-font-sizes, widgets, menus, editor-style
theme_path: /var/www/html/wp-content/themes/twentytwenty

wp-themes-inactive (7)

Pro: version: 3.2.3, author: Themeco
Twenty Fifteen: version: 1.9, author: dem WordPress-Team (latest version: 2.6)
Twenty Nineteen: version: 1.5, author: WordPress-Team
Twenty Seventeen: version: 1.4, author: WordPress-Team (latest version: 2.3)
Twenty Sixteen: version: 1.4, author: WordPress-Team (latest version: 2.1)
x-child: version: 1.0.0, author:
X: version: 7.2.3, author: Themeco

wp-plugins-active (3)

Advanced Custom Fields PRO: version: 5.8.8, author: Elliot Condon (latest version: 5.8.9)
Cornerstone: version: 4.2.3, author: Themeco
WP Cost Estimation & Payment Forms Builder: version: 9.699, author: Biscay Charly (loopus)

wp-plugins-inactive (26)

Better Search Replace: version: 1.3.3, author: Delicious Brains
Classic Editor: version: 1.5, author: WordPress Contributors
Custom Post Type UI: version: 1.7.4, author: WebDevStudios
Enable Media Replace: version: 3.3.11, author: ShortPixel
Enhanced Media Library: version: 2.7.2, author: wpUXsolutions
Envira Gallery: version: 1.8.9.1, author: Envira Gallery Team
Google Analytics Germanized: version: 1.5.5, author: Pascal Bajorat
Page Builder by SiteOrigin: version: 2.10.15, author: SiteOrigin
Page Generator Pro: version: 2.5.8, author: WP Zinc
Post Duplicator: version: 2.20, author: Metaphor Creations
Pretty Links: version: 3.1.0, author: Blair Williams
Redirection: version: 4.7.1, author: John Godley
Regenerate Thumbnails: version: 3.1.3, author: Alex Mills (Viper007Bond)
ShortPixel Image Optimizer: version: 4.17.0, author: ShortPixel (latest version: 4.17.2)
SiteOrigin Widgets Bundle: version: 1.16.0, author: SiteOrigin
Slider Revolution: version: 6.2.2, author: ThemePunch
Smush: version: 3.6.1, author: WPMU DEV
UpdraftPlus - Backup/Restore: version: 2.16.23.24, author: UpdraftPlus.Com, DavidAnderson
WPForms: version: 1.4.7.2, author: WPForms
WPForms Custom Captcha: version: 1.0.3, author: WPForms
WPForms Post Submissions: version: 1.1.1, author: WPForms
WPForms User Registration: version: 1.1.0, author: WPForms
WP Htaccess Editor: version: 1.65, author: WebFactory Ltd
WP Mail SMTP: version: 1.9.0, author: WPForms
Yoast SEO: News: version: 6.1, author: Team Yoast
Yoast SEO Premium: version: 6.1.2, author: Team Yoast

wp-media

image_editor: WP_Image_Editor_GD
imagick_module_version: Nicht verfügbar
imagemagick_version: Nicht verfügbar
gd_version: bundled (2.1.0 compatible)
ghostscript_version: not available

wp-server

server_architecture: Linux 4.19.76-linuxkit x86_64
httpd_software: Apache/2.4.25 (Debian)
php_version: 7.2.2 64bit
php_sapi: apache2handler
max_input_variables: 1000
time_limit: 600
memory_limit: 512M
max_input_time: -1
upload_max_size: 30M
php_post_max_size: 30M
curl_version: 7.52.1 OpenSSL/1.0.2l
suhosin: false
imagick_availability: false
htaccess_extra_rules: true

wp-database

extension: mysqli
server_version: 5.7.21
client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $

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_MAX_MEMORY_LIMIT: 512M
WP_DEBUG: true
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
mu-plugins: writable

`

Hi @pranklconsulting,

Thanks for reaching out.

I can confirm this bug, I’m adding this to our issue tracker. It can be disabled by setting the allowed post type like from here "Allowed Post Types" Missing from Cornerstone settings and I have tried disabling cornerstone with specific post type (like the post and page) but the issue still remains. Perhaps it’s not due to the ability to edit, but the existence of some feature regardless of the post type.

Perhaps the two other plugins are only triggering the issue, and it’s ACF that causing it since the permalinks and post type is overridden by it.

I’m afraid you’ll have to disable one plugin manually once you create and edit a post, at least for now while we’re investigating it.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.