'WordPress- Media library style not loading correctly when selecting a page featured image?

I'm trying to set a featured image to some pages using block editor,

So when I press select featured images the upload UI of the media library is not loading its own stylesheet correctly ( but get images and search are working perfectly)

The problem occurs only on some pages ( with the same template!!! )

Ex: I have 2 pages with the same default template.

  1. About us page ( problem exists ).
  2. Staff page ( no problem at all when selecting featured images )

This is a screenshot of the problem

What I've tried:

  1. Checked every single plugin deactivate&activate ( no changes)
  2. Add a define( 'CONCATENATE_SCRIPTS', false ); in wp-config.php file ( no changes)
  3. Checked console there are no errors.
  4. Different browsers on 2 different devices ( no changes )

WP Version: 5.9.1

Any ideas would be appreciated, Thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source