Posts/Pages popup in Upfront does not work for one site admin

On one subsite admin of that site can't load Posts/pages popup. It only shows the loading icon and there is an error in the browser console.

TypeError: Upfront.mainData.content_settings.post_types is undefined

Super admin does not have this issues and other subsites admins also. It is only this one site and the admin of that site.

Site has domain mapped to it.