Make WordPress Core

Opened 2 weeks ago

Last modified 2 weeks ago

#60492 new defect (bug)

Gallery crashes if images have caption.

Reported by: newtonu's profile newtonu Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.4.3
Component: Gallery Keywords:
Focuses: Cc:

Description

Every time I try to add a gallery in the post with images that has the caption field filled up, the gallery crashes. If I try to create a gallery without the caption field it works as expected.

After the gallery is created and added to the post, I can use the caption field normally.

Attachments (1)

error_wp_gallery.png (8.8 KB) - added by newtonu 2 weeks ago.

Download all attachments as: .zip

Change History (3)

#1 @Otto42
2 weeks ago

Define "crashes". What exactly happens?

#2 @newtonu
2 weeks ago

I've added a image of the message I receive. Basically ir just says "The editor has encountered an unexpected error." with the option of "Copy Post Text" or "Copy Error".

Copying the error I got: (just edited out my domain)

mI@https://MYDOMAIN/wp-includes/js/dist/block-editor.min.js?ver=8a070b748cf406a8d42e:41:75863
wt@https://MYDOMAIN/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:47637
vr@https://MYDOMAIN/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:56452
js@https://MYDOMAIN/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:121453
wl@https://MYDOMAIN/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88661
bl@https://MYDOMAIN/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88589
yl@https://MYDOMAIN/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88450
il@https://MYDOMAIN/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85274
fl@https://MYDOMAIN/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85661
Nn@https://MYDOMAIN/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:32474
al@https://MYDOMAIN/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:82721
Rt@https://MYDOMAIN/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:50491
n/Mt/<@https://MYDOMAIN/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:50350
s@https://MYDOMAIN/wp-includes/js/dist/data.min.js?ver=dc5f255634f3da29c8d5:9:2080
u@https://MYDOMAIN/wp-includes/js/dist/data.min.js?ver=dc5f255634f3da29c8d5:9:2106
Oe/i/o.subscribe/r<@https://MYDOMAIN/wp-includes/js/dist/data.min.js?ver=dc5f255634f3da29c8d5:2:21101
be/instantiate/<@https://MYDOMAIN/wp-includes/js/dist/data.min.js?ver=dc5f255634f3da29c8d5:2:20061
p@https://MYDOMAIN/wp-includes/js/dist/data.min.js?ver=dc5f255634f3da29c8d5:2:9322
V/</</<@https://sMYDOMAIN/wp-includes/js/dist/data.min.js?ver=dc5f255634f3da29c8d5:2:12469
c/</</<@https://MYDOMAIN/wp-includes/js/dist/redux-routine.min.js?ver=0be1b2a6a79703e28531:9:750
D/</<@https://MYDOMAIN/wp-includes/js/dist/data.min.js?ver=dc5f255634f3da29c8d5:2:11537
k/</</<@https://MYDOMAIN/wp-includes/js/dist/data.min.js?ver=dc5f255634f3da29c8d5:2:12407
be/instantiate/g/<@https://MYDOMAIN/wp-includes/js/dist/data.min.js?ver=dc5f255634f3da29c8d5:2:17629
A@https://MYDOMAIN/wp-includes/js/dist/block-library.min.js?ver=9c5365423f60fac3c287:14:123271
onUpdate@https://MYDOMAIN/wp-includes/js/dist/media-utils.min.js?ver=bcd60e7a2fb568f38015:2:4662
p@https://MYDOMAIN/wp-includes/js/backbone.min.js?ver=1.5.0:2:3700
f<@https://MYDOMAIN/wp-includes/js/backbone.min.js?ver=1.5.0:2:3497
a@https://MYDOMAIN/wp-includes/js/backbone.min.js?ver=1.5.0:2:692
e.trigger@https://MYDOMAIN/wp-includes/js/backbone.min.js?ver=1.5.0:2:3381
_onModelEvent@https://MYDOMAIN/wp-includes/js/backbone.min.js?ver=1.5.0:2:14082
p@https://MYDOMAIN/wp-includes/js/backbone.min.js?ver=1.5.0:2:3758
f<@https://MYDOMAIN/wp-includes/js/backbone.min.js?ver=1.5.0:2:3508
a@https://MYDOMAIN/wp-includes/js/backbone.min.js?ver=1.5.0:2:692
e.trigger@https://MYDOMAIN/wp-includes/js/backbone.min.js?ver=1.5.0:2:3381
click@https://MYDOMAIN/wp-includes/js/media-views.min.js?ver=7995b402f16263c76b9b522d05d2e845:2:71218
click@https://MYDOMAIN/wp-includes/js/media-views.min.js?ver=7995b402f16263c76b9b522d05d2e845:2:50901
dispatch@https://MYDOMAIN/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:40035
add/v.handle@https://MYDOMAIN/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:38006
Last edited 2 weeks ago by sabernhardt (previous) (diff)
Note: See TracTickets for help on using tickets.