I experienced the same since upgrading to WordPress 5.3.
The galleries look fine in the edit page but not on preview or when published.
Galleries in old posts are fine but any attempt to edit existing posts or create new ones with galleries and all the images simply display in a single column.
Hi all, may I know which plugin are you using to create the gallery? May I know the steps to reproduce the error?
Also, @svadore I find there’s a JS error on your site:
(index):1579 Uncaught ReferenceError: Main is not defined
at (index):1579
Could you please check does it related to the layout issue?
I use just the most basic gallery option block included in WordPress with no other image plugins. I tried on various of my sites and only deactivating Litespeed Cache seems to make a difference.
I made a sample page with two modern McLaren cars at the bottom of the post that should be next to each other rather than one below the other at:
https://www.classic-car-auctions.info/usa/2019-rm-sothebys-st-louis-sale-guyton-collection-auction-results/
At existing posts, the galleries still work as they should but if I try to edit the page it immediately places the photos one underneath the other rather than next to each other, eg. at https://www.classic-car-auctions.info/european/other/2019-rm-sothebys-abu-dhabi-sale-auction-preview/
@stanleylitespeed I’m not sure what that error means. Can you decipher it for me or help me figure out how to fix that possible error? Either way, all I did was remove your plugin and it now works. I don’t think it has to do with the layout of my site since it’s always worked with litespeed. I think it has to do with the new wordpress 5.3 update and the fact that litespeed wasn’t tested for compatibility with the updgrade.
@henkbekker do you use a cache plugin? Try deactivating it, unposting your post and then reposting. It should work then. That’s what I did for my litespeed plugin since that was the issue.
Thanks for the update @henkbekker, but seems I cannot find the error on that page, please check this image: https://imgur.com/a/ROkVYXU.
Should I use a certain browser to reproduce the issue?
That is what is supposed to look like (and what I get with the plugin off) but I don’t get the two photos next to each other in Chrome, Safari, Firefox or a clean install of Opera on macOS Mojave. The same for all those browsers on an iPhone.
The problem is immediately (but temporarily) solved if I deactivate the Litespeed Cache plugin.
As soon as the Litespeed Plugin is activated it is back to this: https://www.classic-car-auctions.info/wp-content/uploads/2019/11/Screen-Shot-2019-11-14-at-18.15.53.png
The issue seems solved on my sites by changing the setting Remove Query Strings to OFF (at tab 6 Tunning).
Mine was already on off @henkbekker :/ I’m happy it worked for you though!
Hi @svadore, we get another report and find out the issue is related to Optimize > Remove Comment, if you’ve turned it ON, could you try to turn it OFF and purge the cache to see does it help?
If not, please join our Slack channel for helping us to reproduce the error, thanks.
@stanleylitespeed unfortunately mine was already turned off so that’s not the cause!
@svadore, please join our Slack channel and find me by the direct message @Stanley Cheung at Litespeed for helping us to reproduce the error, thanks.