#55512 closed defect (bug) (reported-upstream)
Gallery gap adjustment in Gutenberg 12.9.0 does not work
Reported by: | burnuser | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.9.2 |
Component: | Gallery | Keywords: | |
Focuses: | Cc: |
Description
I tried the new gallery gap support in Gutenberg 12.9.0 on Twenty Twenty-Two (and other FSE Themes) in several test environments, including a completely new one on https://wpsandbox.net/
The result is every time the same:
Inserting a gallery (e.g. 6 images in 3 columns) works as regular.
But any entered value in "block spacing" converts the gallery in a single column (with gaps acording to the entered value)
Change History (4)
#2
@
2 years ago
I get the same result on 3 different test-environments:
1.) local environment from Laragon
... with error-message
2.) TasteWP Sandbox (exists 24h): https://panoramicexchange.s2-tastewp.com/
... with same error-message:
Warning: preg_match() expects parameter 2 to be string, array given in /s2-panoramicexchange/wordpress/wp-content/plugins/gutenberg/build/block-library/blocks/gallery.php on line 51
3.) InstaWP Sandbox (exists 8h): https://jepocu.us4.instawp.xyz/
... without error-message
#3
@
2 years ago
- Keywords close added
- Resolution set to invalid
- Status changed from new to closed
Thanks for the extra detail @burnuser This issue was fixed here https://github.com/WordPress/gutenberg/pull/39788 and this fix will be included in release 13.0
Thanks for reporting @burnuser.
I wasn't able to replicate this in a 5.9.2 install with the latest Gutenberg on TwentyTwentyTwo:
Are you able to provide a link to frontend page where the gallery is doing this?