Jetpack randomly causes the page editor to not display Featured Image setting area. Sometimes even “Move to Trash” button is also stopped from appearing. (Note that these are generally the last two things to load on the page editor as you can see in the video in the github thread below)
Yes I tried with TwentyTwentyThree and no other plugins. When running only TwentyTwentyThree the issue does not happen. When reactivating Jetpack the issue returns.
It’s a bummer that an Automattic plugin is the thing that’s breaking the admin. I ruled everything else out 🙁
Turning on the Post List module appeared to solve the problem at first, but the bug is happening again.
Note that generally Featured Image is the last thing in the page editor sidebar to load, but when Jetpack it activated it randomly prevents Featured Image selector from appearing in the sidebar. When this occurs, Featured Image option also does not appear in Preferences > Panels.
Thank you!
This topic was modified 2 years, 7 months ago by James Monroe.
This topic was modified 2 years, 7 months ago by James Monroe.
This topic was modified 2 years, 7 months ago by James Monroe.
The page I need help with: [log in to see the link]
Thanks. This isn’t an issue that Jetpack should cause and I’m equally unable to reproduce it. On my test site with Jetpack installed, I’m not encountering any issues with the Block Editor and adding featured images.
I know you mentioned in that Gutenberg issue that deactivating Jetpack appeared to resolve the issue. I think there’s an indirect interaction going on there.
Could you try reproducing this on a fresh staging site? Also, confirm that there aren’t any issues with the REST API for your site.
Did you see that it’s very intermittent? Sometimes Featured Image will load on some pages and other times not. Not a universal issue across pages. I can reload the same Edit page a few times and sometimes Featured Image shows up, other times it doesn’t.
For my theme, it was originally a child of Frost (a great theme) and to make even less to troubleshoot, I made it a child of 2023. Just tried now on a WP Local install with nothing activated except Jetpack and I still see the behavior of Featured Image about 5–10 seconds after everything else on the Edit page loads (including the large Jetpack slideshow images).
On my remote install Featured Image area doesn’t load about
Aside: What do you think about my observation that the Featured Image area is always the last part of the page to load about 5–10 secs later? Did you see the video? Is this normal that it loads last? Wondering if there’s a way to troubleshoot around the load order/speed…
I looked at Console and it appears Jetpack is causing the first error (registration.js:383 Block “jetpack/paywall” is not registered.) in the list. This isn’t even a block that shows up or anything I’m using.
And then after that I get a bunch of other 500 errors.
When I deactivate Jetpack all of the console errors go away and Featured Image appears on the page admin.
to add: If i run query monitor to check for errors, it says “PHP errors were triggered during an Ajax request. See your browser developer console for details.” and when i check console i see many 500 errors below the jetpack paywall error. when jetpack is deactivated, all errors disappear and featured image area reappears on the page editor
Hi @jhmonroe, It looks like there’s an issue with the site’s XML-RPC file, which is causing the problem. This file is used by Jetpack and other plugins and apps to connect to your site. It must return the following message:
Your site is showing a blank page instead of the required message, which is preventing Jetpack from connecting. This is most likely because a plugin, theme, or your site’s wp-config.php file has extra “blank spaces” (new lines, spaces, tabs, …) before the first <?php in the file.
Really Simple SSL (which so many people use now that SSL is required by Chrome) has a hardening setting to disable XML-RPC.
However, I’m still getting a lot of errors in console when loading certain pages in the admin (the pages where Featured Image option sporadically doesn’t appear).
The first is “blocks.min.js?ver=b5d3b99262dfb659bd26:3 Block “jetpack/paywall” is not registered.” and then a lot of 500 Internal Server Error are thrown after that. Each of the subsequent errors are related to api-fetch.min.js
Several in /wp-json/jetpack/v4/module/all?_locale=user
Do you have updates about that? We usually close inactive threads after one week of no movement, but we want to make sure we’re all set before marking it as solved. Thanks!
@alinclamba confirmed! that was def one of the first things i tried — checking all the modules i wasn’t using or turning off to test. that’s how i discovered the buried module that displays the thumbnails on pages/posts list page (which seemed like a logical place that some code might cause conflicts with featured image) since it handles displaying a featured image on the pages/post list page.