-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is no Replace button in Site logo block #39913
Comments
Hi @SergeGusev, Had the same problem at #39776 . It seems to be something related to your environment, as it was in my case, but I don't know if it's the same cause. What does the browser console show? |
The console shows a lot of rows like Updated block core/spacer with content:
No red errors, info only |
👋 - in order for the
Regarding the logs, they are not related at all, as they are migration logs for available patterns that are pre-parsed. |
ntsekouras, thank you, looks like you are correct. When I try to execute the site unders IIS, I have the described problem. But when I'm working with Build-in local server, I can see Upload button and Replace button. I'm sure my wp-content folder has enough permissions. But maybe Gutenberg works with another folder? Where can I find/set this option to check necessary permissions? |
Oh.. I linked something wrong in my previous comment 😄 . The place we check permissions is here:https://github.com/WordPress/gutenberg/blob/trunk/packages/block-library/src/site-logo/edit.js#L380. It's not about directory permissions, but it's about user permissions. |
It is interesting, because I work with the same user on the same computer with the same site and the same database, I'm sure. The only difference - using IIS or Build-in server. This is video - first half of them I work with Build-in server (and the buttons do exist), then I work with IIS and there are no buttons. https://drive.google.com/file/d/1XejPKunXhPyT15GoGZmqIHhCOAHDbpxI/view?usp=sharing |
@SergeGusev did you figure out why you were getting a whole bunch of block updated messages? I am having the same issue trying to go from wp 5.8->5.9 on another site and there doesn't seem to be much info on this "Updated Block" situation. |
Testing in WP6.3 I now see a 'replace' button consistently. @SergeGusev @websupergirl do either of you still see this error occuring? |
This seems resolved, and with no further reports I'll close this issue. |
Description
I cannot upload or change the site logo in the Site Logo block, because there is no Replace button in the block's attributes. But I'm able to do it on an Image block - it has Replace button and allows me to select an image from Media library or disk.
Step-by-step reproduction instructions
1, Install new WP 5.9.2
2. Set TwentyTwentyTwo theme as Active.
3. Press Customize button.
4. In the Site Editor select the current Site logo component. In the block attributes panel there is no Replace button.
My video with all steps a available below.
Screenshots, screen recording, code snippet
https://drive.google.com/file/d/1mcBkPSH43z_a9g6qGzlOVRaBOy1VuO3N/view?usp=sharing
Environment info
WordPress 5.9.2 - clear, no plugins
Theme - TwentyTwentyTwo, block theme.
OS - Windows 10.
Chrome
IIS
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: