WC 7.7.0 Errors
-
Hello dear support,
as instructed in this thread, I am creating a new thread for the current issue.
With the 7.7.0 update, I see following errors in the console:
The block "woocommerce/product-radio" is registered with an invalid category "woocommerce". blocks.min.js:10:1003 The block "woocommerce/product-section" is registered with an invalid category "woocommerce". blocks.min.js:10:1003 The block "woocommerce/product-tab" is registered with an invalid category "woocommerce". blocks.min.js:10:1003 The block "woocommerce/product-schedule-sale-fields" is registered with an invalid category "woocommerce". blocks.min.js:10:1003 The block "woocommerce/product-track-inventory-fields" is registered with an invalid category "woocommerce". blocks.min.js:10:1003 The block "woocommerce/product-sku" is registered with an invalid category "woocommerce". blocks.min.js:10:1003 The block "woocommerce/product-checkbox" is registered with an invalid category "woocommerce". blocks.min.js:10:1003 The block "woocommerce/product-shipping-dimensions-fields" is registered with an invalid category "woocommerce". blocks.min.js:10:1003 The block "woocommerce/product-shipping-fee-fields" is registered with an invalid category "woocommerce". blocks.min.js:10:1003
This is the case with only WC activated.
However, the problem is even worse. While working on an older theme, where the Gutenberg Editor is activated for WooCommerce products, the recent update completely breaks the editor. Using this snippet:add_filter( 'use_block_editor_for_post_type', function ( $can_edit, $post_type ) { if ( $post_type == 'product' ) { $can_edit = true; } return $can_edit; }, 10, 2 );
we have activated the gutenberg editor for products. With v 7.5 everything was working completely fine. Now with version 7.7.0, following errors occur in the console while the editor is activated:
Block "core/calendar" is already registered. blocks.min.js:3:89981 Block "core/categories" is already registered. blocks.min.js:3:89981 Block "core/freeform" is already registered. blocks.min.js:3:89981 Block "core/code" is already registered. blocks.min.js:3:89981 Block "core/column" is already registered. blocks.min.js:3:89981 Block "core/columns" is already registered. blocks.min.js:3:89981 Block "core/cover" is already registered. blocks.min.js:3:89981 Block "core/embed" is already registered. blocks.min.js:3:89981 Block "core/file" is already registered. blocks.min.js:3:89981 Block "core/group" is already registered. blocks.min.js:3:89981 Block "core/html" is already registered. blocks.min.js:3:89981 Block "core/latest-comments" is already registered. blocks.min.js:3:89981 Block "core/latest-posts" is already registered. blocks.min.js:3:89981 Block "core/media-text" is already registered. blocks.min.js:3:89981 Block "core/missing" is already registered. blocks.min.js:3:89981 Block "core/more" is already registered. blocks.min.js:3:89981 Block "core/nextpage" is already registered. blocks.min.js:3:89981 Block "core/page-list" is already registered. blocks.min.js:3:89981 Block "core/page-list-item" is already registered. blocks.min.js:3:89981 Block "core/pattern" is already registered. blocks.min.js:3:89981 Block "core/preformatted" is already registered. blocks.min.js:3:89981 Block "core/pullquote" is already registered. blocks.min.js:3:89981 Block "core/block" is already registered. blocks.min.js:3:89981 Block "core/rss" is already registered. blocks.min.js:3:89981 Block "core/search" is already registered. blocks.min.js:3:89981 Block "core/separator" is already registered. blocks.min.js:3:89981 Block "core/shortcode" is already registered. blocks.min.js:3:89981 Block "core/social-link" is already registered. blocks.min.js:3:89981 Block "core/social-links" is already registered. blocks.min.js:3:89981 Block "core/spacer" is already registered. blocks.min.js:3:89981 Block "core/table" is already registered. blocks.min.js:3:89981 Block "core/tag-cloud" is already registered. blocks.min.js:3:89981 Block "core/text-columns" is already registered. blocks.min.js:3:89981 Block "core/verse" is already registered. blocks.min.js:3:89981 Block "core/video" is already registered. blocks.min.js:3:89981 Block "core/navigation" is already registered. blocks.min.js:3:89981 Block "core/navigation-link" is already registered. blocks.min.js:3:89981 Block "core/navigation-submenu" is already registered. blocks.min.js:3:89981 Block "core/site-logo" is already registered. blocks.min.js:3:89981 Block "core/site-title" is already registered. blocks.min.js:3:89981 Block "core/site-tagline" is already registered. blocks.min.js:3:89981 Block "core/query" is already registered. blocks.min.js:3:89981 Block "core/template-part" is already registered. blocks.min.js:3:89981 Block "core/avatar" is already registered. blocks.min.js:3:89981 Block "core/post-title" is already registered. blocks.min.js:3:89981 Block "core/post-excerpt" is already registered. blocks.min.js:3:89981 Block "core/post-featured-image" is already registered. blocks.min.js:3:89981 Block "core/post-content" is already registered. blocks.min.js:3:89981 Block "core/post-author" is already registered. blocks.min.js:3:89981 Block "core/post-author-name" is already registered. blocks.min.js:3:89981 Block "core/post-date" is already registered. blocks.min.js:3:89981 Block "core/post-terms" is already registered. blocks.min.js:3:89981 Block "core/post-navigation-link" is already registered. blocks.min.js:3:89981 Block "core/post-template" is already registered. blocks.min.js:3:89981 Block "core/query-pagination" is already registered. blocks.min.js:3:89981 Block "core/query-pagination-next" is already registered. blocks.min.js:3:89981 Block "core/query-pagination-numbers" is already registered. blocks.min.js:3:89981 Block "core/query-pagination-previous" is already registered. blocks.min.js:3:89981 Block "core/query-no-results" is already registered. blocks.min.js:3:89981 Block "core/read-more" is already registered. blocks.min.js:3:89981 Block "core/comments" is already registered. blocks.min.js:3:89981 Block "core/comment-author-name" is already registered. blocks.min.js:3:89981 Block "core/comment-content" is already registered. blocks.min.js:3:89981 Block "core/comment-date" is already registered. blocks.min.js:3:89981 Block "core/comment-edit-link" is already registered. blocks.min.js:3:89981 Block "core/comment-reply-link" is already registered. blocks.min.js:3:89981 Block "core/comment-template" is already registered. blocks.min.js:3:89981 Block "core/comments-title" is already registered. blocks.min.js:3:89981 Block "core/comments-pagination" is already registered. blocks.min.js:3:89981 Block "core/comments-pagination-next" is already registered. blocks.min.js:3:89981 Block "core/comments-pagination-numbers" is already registered. blocks.min.js:3:89981 Block "core/comments-pagination-previous" is already registered. blocks.min.js:3:89981 Block "core/post-comments-form" is already registered. blocks.min.js:3:89981 Block "core/home-link" is already registered. blocks.min.js:3:89981 Block "core/loginout" is already registered. blocks.min.js:3:89981 Block "core/term-description" is already registered. blocks.min.js:3:89981 Block "core/query-title" is already registered. blocks.min.js:3:89981 Block "core/post-author-biography" is already registered. blocks.min.js:3:89981 Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert ("script-src"). preload.js:136:52 Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline festgestellt ("script-src"). Ein CSP-Bericht wird gesendet. preload.js:136:52 Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert ("script-src"). preload.js:136:52 Diese Seite verwendet die nicht standardisierte Eigenschaft "zoom". Stattdessen sollte calc() in den entsprechenden Eigenschaftswerten oder "transform" zusammen mit "transform-origin: 0 0" verwendet werden. post-new.php null bm-admin.min.js:1:3548 TypeError: styleElement.sheet is null element-collapser.js:91:9 Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert ("style-src"). element-collapser.js:88:56 Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline festgestellt ("style-src"). Ein CSP-Bericht wird gesendet. element-collapser.js:88:56 TypeError: e is undefined edit https://torantrieb-neu.loc:8888/wp-content/plugins/woocommerce/assets/client/admin/product-editor/index.js:2 React 9 react-dom.min.js:10:53541 MouseEvent.mozPressure sollte nicht mehr verwendet werden. Verwenden Sie PointerEvent.pressure stattdessen. tinymce.min.js:2:8856 Diese Seite verwendet die nicht standardisierte Eigenschaft "zoom". Stattdessen sollte calc() in den entsprechenden Eigenschaftswerten oder "transform" zusammen mit "transform-origin: 0 0" verwendet werden. tinymce.min.js:2:85869 Leerer String an getElementById() übergeben. analysis.js:332:39722 TypeError: e is undefined edit https://torantrieb-neu.loc:8888/wp-content/plugins/woocommerce/assets/client/admin/product-editor/index.js:2 React 9 react-dom.min.js:10:53541 Source-Map-Fehler: Error: request failed with status 404 Ressourcen-Adresse: https://torantrieb-neu.loc:8888/wp-admin/post-new.php?post_type=product Source-Map-Adresse: style.css.map
The product can not be edited, blocks can not be added or removed. When creating a new product, it is filled with WC blocks, that can not be edited or removed. No other blocks can be added either. Please see the screenshot here:
Thank you for your help, best regards
Julian
- The topic ‘WC 7.7.0 Errors’ is closed to new replies.