Issue with Twenty Twenty-Three Theme
-
Hello,
We are seeing loads of these errors in the console when your plugin is used to add the Mini Basket block into the Header template part of the Site Editor … this is Safari …
[Warning] The resource https://localhost:8888/wp-includes/js/dist/vendor/lodash.min.js?ver=4.17.19 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing. [Warning] The resource https://localhost:8888/wp-includes/js/dist/vendor/react.min.js?ver=18.2.0 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing. [Warning] The resource https://localhost:8888/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it wasn't preloaded for nothing. --- 35 more (you get the idea) ---
… and this is Chrome …
[38] The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate
as
value and it is preloaded intentionally.The issue occurs with the default WordPress Twenty Twenty-Three theme but could be other themes too.
This issue occurs when the Mini Basket block is used in the Header template part of a block theme. It does not happen when the Mini Basket block is used in the content of a page or post.
We have tested this with a clean install of WordPress, WooCommerce and Side Cart Woocommerce (no other plugins active).
To replicate on a fresh install of WordPress …
- Install and activate Twenty Twenty-Three theme
- Install and activate WooCommerce plugin
- Install and activate Side Cart Woocommerce plugin
- Edit Site – Template Parts – Header
- Add “Mini Basket” block to the Header template part; default settings are sufficient
- Save
- View front page and inspect page to see the errors appear in the console
Please advise.
Thank you,
Oliver
- The topic ‘Issue with Twenty Twenty-Three Theme’ is closed to new replies.