Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor-Loading-Error for Synced-Pattern #154

Open
Drivingralle opened this issue Jan 7, 2025 · 1 comment
Open

Editor-Loading-Error for Synced-Pattern #154

Drivingralle opened this issue Jan 7, 2025 · 1 comment

Comments

@Drivingralle
Copy link

Entering the editing mode of a synced pattern I get the following error message on top of the editor:
The „create-content-model-cpt-settings-panel“ plugin has encountered an error and cannot be rendered.

Image

Recreate in Playground

  1. Install and activate plugin "create-content-model"
  2. Open a content-model in editor
  3. Add a synced Pattern into content model
  4. Edit synced Pattern via "Edit original"

From browser console

TypeError: x is undefined
v https://playground.wordpress.net/scope:confident-abandoned-village/wp-content/plugins/create-content-model//includes/manager/dist/manager.js?ver=1896abddfb2a5b16962a:1
ht https://playground.wordpress.net/scope:confident-abandoned-village/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1:10
vr https://playground.wordpress.net/scope:confident-abandoned-village/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1:10
Qs https://playground.wordpress.net/scope:confident-abandoned-village/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1:10
wl https://playground.wordpress.net/scope:confident-abandoned-village/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1:10
bl https://playground.wordpress.net/scope:confident-abandoned-village/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1:10
yl https://playground.wordpress.net/scope:confident-abandoned-village/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1:10
react-dom.min.js:10:53523

Site Info

wp-core

version: 6.7.1
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%year%/%monthnum%/%day%/%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 1
dotorg_communication: Missing header/body separator

wp-paths-sizes

wordpress_path: /wordpress
wordpress_size: loading...
uploads_path: /wordpress/wp-content/uploads
uploads_size: loading...
themes_path: /wordpress/wp-content/themes
themes_size: loading...
plugins_path: /wordpress/wp-content/plugins
plugins_size: loading...
fonts_path: /wordpress/wp-content/uploads/fonts
fonts_size: loading...
database_size: loading...
total_size: loading...

wp-active-theme

name: Twenty Twenty-Five (twentytwentyfive)
version: 1.0
author: the WordPress team
author_website: https://wordpress.org
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, widgets-block-editor, block-templates, post-formats, editor-style
theme_path: /wordpress/wp-content/themes/twentytwentyfive
auto_update: Disabled

wp-plugins-active (1)

Create Content Model: author: (undefined), version: 0.0.2, 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: 1
post_max_size: 2000M
upload_max_filesize: 2000M
max_effective_size: 2 GB
max_file_uploads: 20
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP
ghostscript_version: not available

wp-server

server_architecture: Emscripten 3.1.61 wasm32
httpd_software: PHP.wasm
php_version: 8.0.30-dev
php_sapi: cli
max_input_variables: 1000
time_limit: 0
memory_limit: 256M
max_input_time: -1
upload_max_filesize: 2000M
php_post_max_size: 2000M
curl_version: 7.69.1 OpenSSL/1.1.0h
suhosin: false
imagick_availability: false
pretty_permalinks: true
current: 2025-01-07T10:45:42+00:00
utc-time: Tuesday, 07-Jan-25 10:45:42 UTC
server-time: 2025-01-07T10:45:42+00:00

wp-database

extension: WP_SQLite_Translator
server_version: 5.5
client_version: 3.40.1
max_allowed_packet: undefined
max_connections: undefined

wp-constants

WP_HOME: https://playground.wordpress.net/scope:confident-abandoned-village
WP_SITEURL: https://playground.wordpress.net/scope:confident-abandoned-village
WP_CONTENT_DIR: /wordpress/wp-content
WP_PLUGIN_DIR: /wordpress/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: true
WP_DEBUG_DISPLAY: false
WP_DEBUG_LOG: true
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: false
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
fonts: not writable

@Drivingralle
Copy link
Author

If you take another rout to the pattern editor the error doesn't show up:

  1. Open WP-Admin
  2. Go to Design -> Website Editor
  3. Go to Pattern -> My Pattern
  4. Open Pattern
    => no error message

The error seam to be limited to the deeply neested editor view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant