Please deactivate all the plugins not related to the theme, switch the parent theme, and check the issue, If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.
if the problem remains, make the full backup of your site and confirm the permit for us to deactivate the plugins not related to the theme and switch to the parent theme for the while of checking what may take up to 15 minutes.
Hello!
The problem is due to the new version of WordPress. But it worked out. The pictures in the media can only be seen if there is no picture attached in the gallery elements in the bakery.