[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.
-
Still nothing???
Hello @jakobmichaelis,
Sorry for the late reply, but please be kind and patient on those forums; we all developers are usually busy working, fixing, and those days aren’t the easiest ?? We want everything to work for everyone. But, unfortunately, we don’t always have as much time as we would want.
This issue is currently only being experienced by you it seems, I haven’t got any other feedback about this. wp.editor.MediaPlaceholder
I tried to use the Meow Gallery on a few websites, more or less up to date with WordPress, I also used it with the latest version of Gutenberg installed as an extra plugin (7.7.1). It all cases, it worked fine.
What version of WordPress are you using? Do you have something specific about your setup?
Totally understand.
The weird thing is if I build it from scratch it doesn’t throw the error. It’s like the ones I previously built were somehow bugged. Not sure but for now I’ll just rebuild the existing. Thanks for touching base.
I’m seeing the same thing. If I have an existing gallery that I’ve customized, then go in and set it back to Default, it’s throwing this message:
This layout is not handled. Check the Console Logs.
For this issue, I think I should make the error more self-explanatory, but weren’t you using another gallery before that, and that gallery has a specific layout associated?
I think I had a customer with exactly the same issue, and he was using a specific layout with JetPack. Are you using JetPack Galleries? (or were you?)
If yes, I probably need to know which layout, and I will handle this properly.
Same error here. No Jetpack.
Console says:
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\" class=\"wp-image-214\" 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\" class=\"wp-image-340\" 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\" class=\"wp-image-292\" 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\" class=\"wp-image-205\" 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 is related to another bug I reported previously where occasionally the blocks revert to some sort of hybrid shortcode/preview of gallery view. https://www.ads-software.com/support/topic/block-displays-now-displays-shortcode-above-gallery-preview/
Here’s a fix that worked for me:
1. Take note of your current gallery settings because you’ll need to set them again.
2. Convert the block to a ‘Gallery’ (this is the built in gallery in WP core)
3. Convert the block to a ‘Meow Gallery’
4. Reset your optionsI was relieved this was able to convert the blocks without losing the gallery photos and photo order. Hopefully this fix persists.
I was wrong, I went to edit the same page as a different user and the galleries looked like this again: https://imgur.com/rVxpynV
However, it did not replicate the same error message so that’s a plus.
Hello, I have same problem, and I’m using Meow gallery from the beginning of my blog. Now I have this warning as I’m trying to open and modify a post in my Wp admin so I can’t open it. And all Tiles gallery are not displaying on Firefox. I’m going to have to switch all my galleries to other plugin now…
Same error here, so not such uncommon as expected it seems.
Would be nice to get a fix and of course I’m happy to help with my input. What do you need?
CU Ingo.
Sorry for the delay. It’s quite uncommon still, I think, as the users encountering this issue are really, really rare.
What you guys are using? Are you running WP Rocket with some kind of CSS option on? I am asking because another user mentioned this, and he is the only one who encountered that issue before.
It would be nice if you could list your plugins, and how you are using the plugin (which options, which layout).
Hi Jordy,
maybe you’re right. Anyway would be nice to find a fix or at least the reason for it.
As said by someone else, the issue appears not (at least not so far) for newly created posts. It’s just there for old ones and if you want to edit them.
Between the last time it was working and today there was no new plugin installed or any major change in the configuration of my blog (BTW it’s https://backpackershome.de). Of course the major 5.4 update from WP itself falls into that timeframe. But I’m not sure when the issue really started.
I’m not running WP Rocket but WP Fastest Cache. But even if I deactivate that plugin it still shows the same error message.
I’ll list all plugins here I’m using. Just tell me which one we want to look at more in detail.
List:
-AddToAny Share Buttons
-Admin Menu Editor
-Blogim Widget (I’m using the BlogIM pro theme)
-Broken Link Checker
-Contact Form 7
-F2 Tag Cloud Widget
-FooGallery (was going to replace that with your plugin over time)
-GDPR Cookie Consent
-Google Analytics Germanized
-Honeypot for Contact Form 7
-Jetpack von WordPress.com
-Maintenance
-Meow Gallery Block
-Meow Lightbox (deactivated for now because of a minor hiccup we can discuss later)
-Pretty Links
-Really Simple SSL
-Reduce Bounce Rate
-Simple Lightbox (was going to replace that with your plugin)
-TinyMCE Advanced
-Ultimate Add-Ons für Gutenberg
-UpdraftPlus
-WP Fastest Cache
-WPS Hide Login
-wpSEOThanks in advance for your help!
CU Ingo.
I can tell you this is a problem with optimisation features like “Critical css” and “Asynchronous CSS”. I tried to use it on WP Rocket and Ls Cache and each time it breaks your gallery. So solution is to exclude your gallery from these optimisation features but for now I didn’t find which file I could exclude to make it work.
Hmm, it could be cloudflare I suppose. No other caching or minification is running. I have not run into this issue with any other blocks.
This is the Tiles gallery setting.
### wp-plugins-active (37) ###
Advanced Access Manager: version: 6.5.1, author: Vasyl Martyniuk <[email protected]> (latest version: 6.5.2)
Better Font Awesome: version: 1.7.1, author: Mickey Kay
CKEditor WYSIWYG for Gravity Forms: version: 1.16.0, author: Adrian Gordon
Cloudflare: version: 3.4.1, author: John Wineman, Furkan Yilmaz, Junade Ali (Cloudflare Team)
Duplicator: version: 1.3.32, author: Snap Creek (latest version: 1.3.34)
Easy Table of Contents: version: 2.0.11, author: Steven A. Zahm
Force Regenerate Thumbnails: version: 2.0.6, author: Pedro Elsner
Genesis Connect for WooCommerce: version: 1.1.0, author: StudioPress
Genesis Featured Image Header: version: 1.2.10, author: Scott DeLuzio
GP Conditional Logic Dates: version: 1.0.15, author: Gravity Wiz
GP eCommerce Fields: version: 1.0.40, author: Gravity Wiz
GP Limit Checkboxes: version: 1.2.12, author: Gravity Wiz
GP Limit Dates: version: 1.0.20, author: Gravity Wiz
GP Nested Forms: version: 1.0-beta-8.51, author: Gravity Wiz
GP Preview Submission: version: 1.3.1, author: Gravity Wiz
Gravity Forms: version: 2.4.18, author: Gravity Forms
Gravity Forms All Fields Template: version: 0.9.3, author: Gravity Wiz
Gravity Forms Gutenberg Add-On: version: 1.0-rc-1.4, author: rocketgenius
Gravity Forms Mailchimp Add-On: version: 4.7, author: Gravity Forms
Gravity Perks: version: 2.1.9, author: Gravity Wiz
Imsanity: version: 2.6.0, author: Exactly WWW
iThemes Security: version: 7.7.1, author: iThemes
Meow Gallery Block: version: 3.5.9, author: Jordy Meow, Thomas Kim
Meow Lightbox: version: 2.0.5, author: Jordy Meow, Thomas KIM
Regenerate Thumbnails: version: 3.1.3, author: Alex Mills (Viper007Bond)
SEOPress: version: 3.8.6, author: SEOPress
Simple Social Icons: version: 3.0.2, author: StudioPress
Site Kit by Google: version: 1.8.0, author: Google (latest version: 1.8.1)
WooCommerce: version: 3.8.1, author: Automattic (latest version: 4.1.1)
WooCommerce Blocks: version: 2.5.15, author: Automattic
WooCommerce Gravity Forms Product Add-Ons: version: 3.3.12, author: Lucas Stark
WooCommerce Menu Cart: version: 2.8.1, author: Jeremiah Prummer, Ewout Fernhout
WooCommerce Square: version: 2.0.7, author: WooCommerce (latest version: 2.1.5)
WPFront Notification Bar: version: 1.7.1, author: Syam Mohan
WP Mail SMTP: version: 2.0.1, author: WPForms
WP Rollback: version: 1.7.0, author: Impress.org
WPS Hide Login: version: 1.5.6, author: WPServeur, NicolasKulka, tabrisrp
- The topic ‘[Error] “This layout is not handled. Check the Console Logs.”’ is closed to new replies.