Error loading block on page when adding block
-
I got the follow error on the page when I try to add the woocommerce handpick product or product by category onto the page.
Error loading block: <p>There has been a critical error on your website.</p><p>Learn more about debugging in WordPress.</p>
I got these error on the page console
deprecated.min.js?ver=99b042a92d284c1276e553789c674cab:2
wp.data.select( 'core/editor' ).getBlocks
is deprecated. Please usewp.data.select( 'core/block-editor' ).getBlocks
instead.
c @ deprecated.min.js?ver=99b042a92d284c1276e553789c674cab:2
post-new.php?post_type=page:1 [DOM] Found 2 elements with non-unique id #_wpnonce: (More info: https://goo.gl/9p2vKq) <input type=?”hidden” id=?”_wpnonce” name=?”_wpnonce” value=?”c460bdd70c”>? <input type=?”hidden” id=?”_wpnonce” name=?”_wpnonce” value=?”6d9a21f60f”>?
/wp-json/wc/store/products?per_page=0&catalog_visibility=any&search=&orderby=title&order=asc&_locale=user:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/wp-json/wp/v2/block-renderer/woocommerce/handpicked-products?context=edit&attributes%5Bcolumns%5D=3&attributes%5BeditMode%5D=false&attributes%5BcontentVisibility%5D%5Btitle%5D=true&attributes%5BcontentVisibility%5D%5Bprice%5D=true&attributes%5BcontentVisibility%5D%5Brating%5D=true&attributes%5BcontentVisibility%5D%5Bbutton%5D=true&attributes%5Borderby%5D=date&attributes%5BalignButtons%5D=false&attributes%5BisPreview%5D=false&post_id=1574&_locale=user:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/wp-json/wc/store/products?per_page=0&catalog_visibility=any&search=&orderby=title&order=asc&_locale=user:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/wp-json/wp/v2/block-renderer/woocommerce/handpicked-products?context=edit&attributes%5Bcolumns%5D=3&attributes%5BeditMode%5D=false&attributes%5BcontentVisibility%5D%5Btitle%5D=true&attributes%5BcontentVisibility%5D%5Bprice%5D=true&attributes%5BcontentVisibility%5D%5Brating%5D=true&attributes%5BcontentVisibility%5D%5Bbutton%5D=true&attributes%5Borderby%5D=date&attributes%5BalignButtons%5D=false&attributes%5BisPreview%5D=false&post_id=1574&_locale=user:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/wp-json/wc/store/products?per_page=0&catalog_visibility=any&search=&orderby=title&order=asc&_locale=user:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/wp-json/wp/v2/block-renderer/woocommerce/handpicked-products?context=edit&attributes%5Bcolumns%5D=3&attributes%5BeditMode%5D=false&attributes%5BcontentVisibility%5D%5Btitle%5D=true&attributes%5BcontentVisibility%5D%5Bprice%5D=true&attributes%5BcontentVisibility%5D%5Brating%5D=true&attributes%5BcontentVisibility%5D%5Bbutton%5D=true&attributes%5Borderby%5D=date&attributes%5BalignButtons%5D=false&attributes%5BisPreview%5D=false&post_id=1574&_locale=user:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/wp-json/wp/v2/pages/1574/autosaves?_locale=user:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
deprecated.min.js?ver=99b042a92d284c1276e553789c674cab:2 wp.components.IconButton is deprecated. Please use wp.components.Button instead.
c @ deprecated.min.js?ver=99b042a92d284c1276e553789c674cab:2
2/wp-json/wp/v2/block-renderer/woocommerce/product-category?context=edit&attributes%5Bcolumns%5D=3&attributes%5Brows%5D=3&attributes%5BalignButtons%5D=false&attributes%5Bcategories%5D%5B0%5D=118&attributes%5BcatOperator%5D=any&attributes%5BcontentVisibility%5D%5Btitle%5D=true&attributes%5BcontentVisibility%5D%5Bprice%5D=true&attributes%5BcontentVisibility%5D%5Brating%5D=true&attributes%5BcontentVisibility%5D%5Bbutton%5D=true&attributes%5BisPreview%5D=false&attributes%5BeditMode%5D=true&attributes%5Borderby%5D=date&post_id=1574&_locale=user:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/wp-json/wp/v2/pages/1574/autosaves?_locale=user:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
2/wp-json/wp/v2/block-renderer/woocommerce/product-category?context=edit&attributes%5Bcolumns%5D=3&attributes%5Brows%5D=3&attributes%5BalignButtons%5D=false&attributes%5Bcategories%5D%5B0%5D=118&attributes%5BcatOperator%5D=any&attributes%5BcontentVisibility%5D%5Btitle%5D=true&attributes%5BcontentVisibility%5D%5Bprice%5D=true&attributes%5BcontentVisibility%5D%5Brating%5D=true&attributes%5BcontentVisibility%5D%5Bbutton%5D=true&attributes%5BisPreview%5D=false&attributes%5BeditMode%5D=true&attributes%5Borderby%5D=date&post_id=1574&_locale=user:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/wp-json/wp/v2/pages/1574/autosaves?_locale=user:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
DevTools failed to load SourceMap: Could not load content for https://www.mysite.com/wp-content/plugins/wp-mail-smtp/assets/css/admin-bar.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
- The topic ‘Error loading block on page when adding block’ is closed to new replies.