[Error] “This layout is not handled. Check the Console Logs.”
-
When creating a new meow block, this error comes up. Not sure what changed to cause the error but it was working previously. Here are some additional console errors:
wp.editor.MediaPlaceholder is deprecated. Please use wp.blockEditor.MediaPlaceholder instead.
-
It seems like this bug could appear for very different reasons. I have a few more questions:
1. Have you checked your Console (Developer Tools)? This is very important, as it will tell you the layout which is currently being used. Please copy/paste here whatever follows “Layout could not be handled.” in the Console.
2. Are you using the Gutenberg Block for the Meow Gallery? (normally, it should be yes here, just making sure)
3. Please confirm if it happens if you create a new page/post and add a Meow Gallery Block on it.
Thanks for your help debugging this ??
I appreciate you looking into it and your responsiveness! Yes the block, Have not tried a new page but have deleted and then recreated the block. I shared console output upthread, here it is again:
Layout could not be handled. Object { customClass: "", images: (4) […], linkTo: "media", layout: "default", animation: "", useDefaults: false, htmlPreview: "<div class='mgl-tiles-container'>\r\n\r\n\t.mgl-tiles {\r\n\t\tdisplay: block;\r\n\t}\r\n\r\n\t#mgl-gallery-5e4ed883215f1 {\r\n\t\tmargin: -5px;\r\n\t\twidth: calc(100% + 10px);\r\n\t}\r\n\r\n\t#mgl-gallery-5e4ed883215f1 .mgl-box {\r\n\t\tpadding: 5px;\r\n\t}\r\n\r\n\t@media screen and (max-width: 600px) {\r\n\t\t#mgl-gallery-5e4ed883215f1 .mgl-row {\r\n\t\t\theight: 100px;\r\n\t\t}\r\n\r\n\t\t#mgl-gallery-5e4ed883215f1 figcaption {\r\n\t\t\tdisplay: none;\r\n\t\t}\r\n\t}\r\n\r\n\r\n<div id='mgl-gallery-5e4ed883215f1' class='mgl-gallery mgl-tiles'><div class=\"mgl-row mgl-layout-2-oi\" data-tiles-layout=\"oi\"><div class=\"mgl-box a\"><figure class=\"mgl-item\">\r\n\t<div class=\"mgl-icon\">\r\n\t\t<div class=\"mgl-img-container\">\r\n\t\t\t\t\t\t\t<img width="1024" height="681" src="https://domainnameredacted.com/wp-content/uploads/test-2.jpg" alt="" />\t\t\t\t\t</div>\r\n\t</div>\r\n\t</figure>\r\n</div><div class=\"mgl-box b\"><figure class=\"mgl-item\">\r\n\t<div class=\"mgl-icon\">\r\n\t\t<div class=\"mgl-img-container\">\r\n\t\t\t\t\t\t\t<img width="774" height="1024" src="https://domainnameredacted.com/wp-content/uploads/test-portland-3.jpg" alt="" />\t\t\t\t\t</div>\r\n\t</div>\r\n\t</figure>\r\n</div></div><div class=\"mgl-row mgl-layout-2-oi\" data-tiles-layout=\"oi\"><div class=\"mgl-box a\"><figure class=\"mgl-item\">\r\n\t<div class=\"mgl-icon\">\r\n\t\t<div class=\"mgl-img-container\">\r\n\t\t\t\t\t\t\t<img width="1200" height="676" src="https://domainnameredacted.com/wp-content/uploads/DSCF2dd-1200x676.jpg" alt="" />\t\t\t\t\t</div>\r\n\t</div>\r\n\t</figure>\r\n</div><div class=\"mgl-box b\"><figure class=\"mgl-item\">\r\n\t<div class=\"mgl-icon\">\r\n\t\t<div class=\"mgl-img-container\">\r\n\t\t\t\t\t\t\t<img width="681" height="1024" src="https://domainnameredacted.com/wp-content/uploads/DLRdd483-2-1.jpg" alt="" />\t\t\t\t\t</div>\r\n\t</div>\r\n\t</figure>\r\n</div></div></div></div>", captions: false, columns: 3, wplrCollection: "", … } index.js:1:17551 wp.editor.BlockControls is deprecated. Please use wp.blockEditor.BlockControls instead. deprecated.min.js:2:1625 wp.editor.InspectorControls is deprecated. Please use wp.blockEditor.InspectorControls instead. deprecated.min.js:2:1625 Source map error: Error: request failed with status 404 Resource URL: https://domainnameredacted.com/wp-content/plugins/meow-gallery/blocks/dist/index.js?ver=1583807895 Source Map URL: index.js.map
- This reply was modified 4 years, 6 months ago by Marty.
Hi Jordy,
my feedback as per following:
1.) I’m not that tech savvy, how do I access such a console?
2.) Yes, I’m using the Gutenberg block to create a Meow gallery.
3.) For me no, I cannot confirm. If I create a new post with a new Meow gallery it just works fine. No error message at all. In my case the error message only shows up if I want to edit an old/already existing post with one or more Meow galleries inside.
Something I discovered yesterday, if I use Firefox instead of my default Safari then I can bypass the error message (Safari doesn’t allow that, so literally in Safari I cannot edit any of my old/already existing posts) by clicking on “Prevent that site from opening this error again.” the second time the error appears. Than I could work also on those old/already existing post and the Meow galleries inside.
Happy to provide more feedback if needed.
CU Ingo.
Hi,
I think you might have different issues. Also, since Gutenberg evolved a lot (and the Meow Gallery with it), it might be that it’s breaking this way because the galleries were created a while ago, and this happens when the new version is trying to read the old version of the block.
It’s very important to try to re-create a gallery from scratch to see if it happens in that new one.
Also, does the gallery actually work when you are visiting the page?
Hi Jordy,
you mean re-create within an old post? Otherwise I did that already, see #3 in my message above.
If I need to re-create within an old post then that’s exactly what I try to avoid because there are multiple of them inside.
For error hunting it would also not help to re-create only one of them. Difficult I know.
And the old post is showing up on the blog just fine with all pictures from the Meow galleries inside. The error only shows up if you try to edit the old post.
You can check that post here: https://backpackershome.de/ko-pha-ngan-die-leichtigkeit-des-seins-erleben/
CU Ingo.
- This reply was modified 4 years, 6 months ago by Ingo Scholtz.
- This reply was modified 4 years, 6 months ago by Ingo Scholtz.
Frontend works yes. I don’t get the error any longer after creating a new gallery, however I still get the shortcode output above the block preview after creating a new gallery and then returning to edit the page later. More info: https://www.ads-software.com/support/topic/block-displays-now-displays-shortcode-above-gallery-preview/
I’m getting this error again after updated to WordPress 5.5. Any fixes?
We are about to release a new version. Please try it when it’s released (probably tomorrow or so). If it doesn’t, please contact us here: https://meowapps.com/contact/.
I get the same error can t edit any more and get the notice [Error] “This layout is not handled. Check the Console Logs and the page freezes when i deactivate the galerie plugin i can edit and don t get this message i did use as Galeries meow Galery omly have the newest version and the newest wordpress version. What should i do all my site is based on meow plugins retina Galerie and lightbox only the galerie has an issue. Yhis is the link to the site https://gaestehaus-krone-kork.com/ Thanks a lot Susanne
@susannetamir I suggest creating brand new galleries to replace your existing ones, that was the only way I was able to completely resolve the errors in my case as it was older galleries created with earlier versions of the plugin that seemed to cause errors with the Block editor. Good luck.
Thanks a lot Bozz but i have so many i just don t want to create all of them new and if i need in the end i will use another plugin…. But i like this galeries and the light box and there has to be a way to find a solution without creating all new. As a wordpress friend told me its something in this plugins scripts so may be the plugin needs an update….
- The topic ‘[Error] “This layout is not handled. Check the Console Logs.”’ is closed to new replies.